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) ⇒ 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, body = {}) ⇒ Object
Update enterprise account properties.
Constructor Details
#initialize(client) ⇒ EnterpriseAccount
Returns a new instance of EnterpriseAccount.
1850 1851 1852 |
# File 'lib/platform-api/client.rb', line 1850 def initialize(client) @client = client end |
Instance Method Details
#info(enterprise_account_id) ⇒ Object
Information about an enterprise account.
1862 1863 1864 |
# File 'lib/platform-api/client.rb', line 1862 def info(enterprise_account_id) @client.enterprise_account.info(enterprise_account_id) end |
#list ⇒ Object
List enterprise accounts in which you are a member.
1855 1856 1857 |
# File 'lib/platform-api/client.rb', line 1855 def list() @client.enterprise_account.list() end |
#update(enterprise_account_id, body = {}) ⇒ Object
Update enterprise account properties
1870 1871 1872 |
# File 'lib/platform-api/client.rb', line 1870 def update(enterprise_account_id, body = {}) @client.enterprise_account.update(enterprise_account_id, body) end |