Class: PlatformAPI::EnterpriseAccount
- Inherits:
-
Object
- Object
- PlatformAPI::EnterpriseAccount
- Defined in:
- lib/platform-api/client.rb
Overview
Enterprise accounts allow companies to manage their development teams and billing.
Instance Method Summary collapse
-
#info(enterprise_account_id_or_enterprise_account_name) ⇒ Object
Information about an enterprise account.
-
#initialize(client) ⇒ EnterpriseAccount
constructor
A new instance of EnterpriseAccount.
-
#list ⇒ Object
List enterprise accounts in which you are a member.
-
#update(enterprise_account_id_or_enterprise_account_name, body = {}) ⇒ Object
Update enterprise account properties.
Constructor Details
#initialize(client) ⇒ EnterpriseAccount
Returns a new instance of EnterpriseAccount.
1876 1877 1878 |
# File 'lib/platform-api/client.rb', line 1876 def initialize(client) @client = client end |
Instance Method Details
#info(enterprise_account_id_or_enterprise_account_name) ⇒ Object
Information about an enterprise account.
1888 1889 1890 |
# File 'lib/platform-api/client.rb', line 1888 def info(enterprise_account_id_or_enterprise_account_name) @client.enterprise_account.info(enterprise_account_id_or_enterprise_account_name) end |
#list ⇒ Object
List enterprise accounts in which you are a member.
1881 1882 1883 |
# File 'lib/platform-api/client.rb', line 1881 def list() @client.enterprise_account.list() end |
#update(enterprise_account_id_or_enterprise_account_name, body = {}) ⇒ Object
Update enterprise account properties
1896 1897 1898 |
# File 'lib/platform-api/client.rb', line 1896 def update(enterprise_account_id_or_enterprise_account_name, body = {}) @client.enterprise_account.update(enterprise_account_id_or_enterprise_account_name, body) end |