Class: PlatformAPI::PipelineDeployment

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

Overview

Information about the latest deployment of each app in a pipeline. A deployment is the process of moving the build artifacts to a target environment.

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ PipelineDeployment

Returns a new instance of PipelineDeployment.



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

def initialize(client)
  @client = client
end

Instance Method Details

#list(pipeline_id) ⇒ Object

List latest deployments for each app in a pipeline. A deployment is a release that changed your source slug, container image, or Heroku processes.

Parameters:

  • pipeline_id:

    unique identifier of pipeline



2568
2569
2570
# File 'lib/platform-api/client.rb', line 2568

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