Class: PlatformAPI::PipelineRelease

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

Overview

Information about latest releases of apps in a pipeline.

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ PipelineRelease

Returns a new instance of PipelineRelease.



2553
2554
2555
# File 'lib/platform-api/client.rb', line 2553

def initialize(client)
  @client = client
end

Instance Method Details

#list(pipeline_id) ⇒ Object

List latest releases for each app in a pipeline

Parameters:

  • pipeline_id:

    unique identifier of pipeline



2560
2561
2562
# File 'lib/platform-api/client.rb', line 2560

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