Class: PlatformAPI::PipelineConfigVar

Inherits:
Object
  • Object
show all
Defined in:
lib/platform-api/client.rb

Overview

Pipeline config vars in Heroku CI and review apps used to manage the configuration information for a pipeline.

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ PipelineConfigVar

Returns a new instance of PipelineConfigVar.



3588
3589
3590
# File 'lib/platform-api/client.rb', line 3588

def initialize(client)
  @client = client
end

Instance Method Details

#info_for_app(pipeline_id, pipeline_coupling_stage) ⇒ Object



3602
3603
3604
# File 'lib/platform-api/client.rb', line 3602

def info_for_app(pipeline_id, pipeline_coupling_stage)
  @client.pipeline_config_var.info_for_app(pipeline_id, pipeline_coupling_stage)
end

#update(pipeline_id, pipeline_coupling_stage, body = {}) ⇒ Object



3618
3619
3620
# File 'lib/platform-api/client.rb', line 3618

def update(pipeline_id, pipeline_coupling_stage, body = {})
  @client.pipeline_config_var.update(pipeline_id, pipeline_coupling_stage, body)
end