class PlatformAPI::EnterpriseAccount

Enterprise accounts allow companies to manage their development teams and billing.

Public Class Methods

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

Public Instance Methods

info(enterprise_account_id) click to toggle source

Information about an enterprise account.

@param enterprise_account_id: unique identifier of the enterprise account

# File lib/platform-api/client.rb, line 1886
def info(enterprise_account_id)
  @client.enterprise_account.info(enterprise_account_id)
end
list() click to toggle source

List enterprise accounts in which you are a member.

# File lib/platform-api/client.rb, line 1879
def list()
  @client.enterprise_account.list()
end
update(enterprise_account_id, body = {}) click to toggle source

Update enterprise account properties

@param enterprise_account_id: unique identifier of the enterprise account @param body: the object to pass as the request payload

# File lib/platform-api/client.rb, line 1894
def update(enterprise_account_id, body = {})
  @client.enterprise_account.update(enterprise_account_id, body)
end