Class: PlatformAPI::SpaceTransfer
- Inherits:
-
Object
- Object
- PlatformAPI::SpaceTransfer
- Defined in:
- lib/platform-api/client.rb
Overview
Transfer spaces between enterprise teams with the same Enterprise Account.
Instance Method Summary collapse
-
#initialize(client) ⇒ SpaceTransfer
constructor
A new instance of SpaceTransfer.
-
#transfer(space_id_or_space_name, body = {}) ⇒ Object
Transfer space between enterprise teams.
Constructor Details
#initialize(client) ⇒ SpaceTransfer
Returns a new instance of SpaceTransfer.
2989 2990 2991 |
# File 'lib/platform-api/client.rb', line 2989 def initialize(client) @client = client end |
Instance Method Details
#transfer(space_id_or_space_name, body = {}) ⇒ Object
Transfer space between enterprise teams
2997 2998 2999 |
# File 'lib/platform-api/client.rb', line 2997 def transfer(space_id_or_space_name, body = {}) @client.space_transfer.transfer(space_id_or_space_name, body) end |