Class: PlatformAPI::PipelineDeployment
- Inherits:
-
Object
- Object
- PlatformAPI::PipelineDeployment
- Defined in:
- lib/platform-api/client.rb
Overview
Information about latest deployments of apps in a pipeline.
Instance Method Summary collapse
-
#initialize(client) ⇒ PipelineDeployment
constructor
A new instance of PipelineDeployment.
-
#list(pipeline_id) ⇒ Object
List latest slug releases for each app in a pipeline.
Constructor Details
#initialize(client) ⇒ PipelineDeployment
Returns a new instance of PipelineDeployment.
2504 2505 2506 |
# File 'lib/platform-api/client.rb', line 2504 def initialize(client) @client = client end |
Instance Method Details
#list(pipeline_id) ⇒ Object
List latest slug releases for each app in a pipeline
2511 2512 2513 |
# File 'lib/platform-api/client.rb', line 2511 def list(pipeline_id) @client.pipeline_deployment.list(pipeline_id) end |