Class: PlatformAPI::PipelineTransfer

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

Overview

A pipeline transfer is the process of changing pipeline ownership along with the contained apps.

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ PipelineTransfer

Returns a new instance of PipelineTransfer.



2581
2582
2583
# File 'lib/platform-api/client.rb', line 2581

def initialize(client)
  @client = client
end

Instance Method Details

#create(body = {}) ⇒ Object

Create a new pipeline transfer.

Parameters:

  • body:

    the object to pass as the request payload



2588
2589
2590
# File 'lib/platform-api/client.rb', line 2588

def create(body = {})
  @client.pipeline_transfer.create(body)
end