UNPKG

terraform-cloud

Version:
15 lines (14 loc) 378 B
import Request from './Request'; export default class Plans extends Request { constructor(client) { super(client); } async show(planId) { const path = `/plans/${planId}`; return await this.get(path); } async jsonOutput(planId) { const path = `/plans/${planId}/json-output`; return await this.client.get(path); } }