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.



2561
2562
2563
# File 'lib/platform-api/client.rb', line 2561

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



2568
2569
2570
# File 'lib/platform-api/client.rb', line 2568

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