Class: PlatformAPI::AppTransfer
- Inherits:
-
Object
- Object
- PlatformAPI::AppTransfer
- Defined in:
- lib/platform-api/client.rb
Overview
An app transfer represents a two party interaction for transferring ownership of an app.
Instance Method Summary collapse
-
#create(body = {}) ⇒ Object
Create a new app transfer.
-
#delete(app_transfer_id_or_app_name) ⇒ Object
Delete an existing app transfer.
-
#info(app_transfer_id_or_app_name) ⇒ Object
Info for existing app transfer.
-
#initialize(client) ⇒ AppTransfer
constructor
A new instance of AppTransfer.
-
#list ⇒ Object
List existing apps transfers.
-
#update(app_transfer_id_or_app_name, body = {}) ⇒ Object
Update an existing app transfer.
Constructor Details
#initialize(client) ⇒ AppTransfer
Returns a new instance of AppTransfer.
1287 1288 1289 |
# File 'lib/platform-api/client.rb', line 1287 def initialize(client) @client = client end |
Instance Method Details
#create(body = {}) ⇒ Object
Create a new app transfer.
1294 1295 1296 |
# File 'lib/platform-api/client.rb', line 1294 def create(body = {}) @client.app_transfer.create(body) end |
#delete(app_transfer_id_or_app_name) ⇒ Object
Delete an existing app transfer
1301 1302 1303 |
# File 'lib/platform-api/client.rb', line 1301 def delete(app_transfer_id_or_app_name) @client.app_transfer.delete(app_transfer_id_or_app_name) end |
#info(app_transfer_id_or_app_name) ⇒ Object
Info for existing app transfer.
1308 1309 1310 |
# File 'lib/platform-api/client.rb', line 1308 def info(app_transfer_id_or_app_name) @client.app_transfer.info(app_transfer_id_or_app_name) end |
#list ⇒ Object
List existing apps transfers.
1313 1314 1315 |
# File 'lib/platform-api/client.rb', line 1313 def list() @client.app_transfer.list() end |
#update(app_transfer_id_or_app_name, body = {}) ⇒ Object
Update an existing app transfer.
1321 1322 1323 |
# File 'lib/platform-api/client.rb', line 1321 def update(app_transfer_id_or_app_name, body = {}) @client.app_transfer.update(app_transfer_id_or_app_name, body) end |