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.



2551
2552
2553
# File 'lib/platform-api/client.rb', line 2551

def initialize(client)
  @client = client
end

Instance Method Details

#list(pipeline_id_or_pipeline_name) ⇒ Object

List latest releases for each app in a pipeline

Parameters:

  • pipeline_id_or_pipeline_name:

    unique identifier of pipeline or name of pipeline



2558
2559
2560
# File 'lib/platform-api/client.rb', line 2558

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