Class: PlatformAPI::PipelineBuild

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

Overview

Information about the latest builds of apps in a pipeline. A build represents the process of transforming code into build artifacts.

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ PipelineBuild



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

def initialize(client)
  @client = client
end

Instance Method Details

#list(pipeline_id) ⇒ Object

List latest builds for each app in a pipeline



2463
2464
2465
# File 'lib/platform-api/client.rb', line 2463

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