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.



2555
2556
2557
# File 'lib/platform-api/client.rb', line 2555

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



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

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