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.



2579
2580
2581
# File 'lib/platform-api/client.rb', line 2579

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



2586
2587
2588
# File 'lib/platform-api/client.rb', line 2586

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