Class: PlatformAPI::PipelinePromotionTarget

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

Overview

Promotion targets represent an individual app being promoted to

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ PipelinePromotionTarget



1868
1869
1870
# File 'lib/platform-api/client.rb', line 1868

def initialize(client)
  @client = client
end

Instance Method Details

#list(pipeline_promotion_id) ⇒ Object

List promotion targets belonging to an existing promotion.



1875
1876
1877
# File 'lib/platform-api/client.rb', line 1875

def list(pipeline_promotion_id)
  @client.pipeline_promotion_target.list(pipeline_promotion_id)
end