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.



2484
2485
2486
# File 'lib/platform-api/client.rb', line 2484

def initialize(client)
  @client = client
end

Instance Method Details

#list(pipeline_id) ⇒ Object

List latest slug releases for each app in a pipeline

Parameters:

  • pipeline_id:

    unique identifier of pipeline



2491
2492
2493
# File 'lib/platform-api/client.rb', line 2491

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