class PlatformAPI::SpaceTransfer

Transfer spaces between enterprise teams with the same Enterprise Account.

Public Class Methods

new(client) click to toggle source
# File lib/platform-api/client.rb, line 2987
def initialize(client)
  @client = client
end

Public Instance Methods

transfer(space_id_or_space_name, body = {}) click to toggle source

Transfer space between enterprise teams

@param space_id_or_space_name: unique identifier of space or unique name of space @param body: the object to pass as the request payload

# File lib/platform-api/client.rb, line 2995
def transfer(space_id_or_space_name, body = {})
  @client.space_transfer.transfer(space_id_or_space_name, body)
end