Class: PlatformAPI::PipelineDeployment

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

Overview

Information about latest deployments of apps in a pipeline.

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ PipelineDeployment

Returns a new instance of PipelineDeployment.



2448
2449
2450
# File 'lib/platform-api/client.rb', line 2448

def initialize(client)
  @client = client
end

Instance Method Details

#list(pipeline_id_or_pipeline_name) ⇒ Object

List latest slug releases for each app in a pipeline

Parameters:

  • pipeline_id_or_pipeline_name:

    unique identifier of pipeline or name of pipeline



2455
2456
2457
# File 'lib/platform-api/client.rb', line 2455

def list(pipeline_id_or_pipeline_name)
  @client.pipeline_deployment.list(pipeline_id_or_pipeline_name)
end