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

Returns a new instance of PipelinePromotionTarget.



2492
2493
2494
# File 'lib/platform-api/client.rb', line 2492

def initialize(client)
  @client = client
end

Instance Method Details

#list(pipeline_promotion_id) ⇒ Object

List promotion targets belonging to an existing promotion.

Parameters:

  • pipeline_promotion_id:

    unique identifier of promotion



2499
2500
2501
# File 'lib/platform-api/client.rb', line 2499

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