Class: PlatformAPI::PipelineBuild

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

Overview

Information about latest builds of apps in a pipeline.

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ PipelineBuild

Returns a new instance of PipelineBuild.



2399
2400
2401
# File 'lib/platform-api/client.rb', line 2399

def initialize(client)
  @client = client
end

Instance Method Details

#list(pipeline_id) ⇒ Object

List latest builds for each app in a pipeline

Parameters:

  • pipeline_id:

    unique identifier of pipeline



2406
2407
2408
# File 'lib/platform-api/client.rb', line 2406

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