Class: PlatformAPI::PipelinePromotionTarget
- Inherits:
-
Object
- Object
- PlatformAPI::PipelinePromotionTarget
- Defined in:
- lib/platform-api/client.rb
Overview
Promotion targets represent an individual app being promoted to
Instance Method Summary collapse
-
#initialize(client) ⇒ PipelinePromotionTarget
constructor
A new instance of PipelinePromotionTarget.
-
#list(pipeline_promotion_id) ⇒ Object
List promotion targets belonging to an existing promotion.
Constructor Details
#initialize(client) ⇒ PipelinePromotionTarget
Returns a new instance of PipelinePromotionTarget.
1942 1943 1944 |
# File 'lib/platform-api/client.rb', line 1942 def initialize(client) @client = client end |
Instance Method Details
#list(pipeline_promotion_id) ⇒ Object
List promotion targets belonging to an existing promotion.
1949 1950 1951 |
# File 'lib/platform-api/client.rb', line 1949 def list(pipeline_promotion_id) @client.pipeline_promotion_target.list(pipeline_promotion_id) end |