Class: PlatformAPI::EnterpriseAccountMonthlyUsage

Inherits:
Object
  • Object
show all
Defined in:
lib/platform-api/client.rb

Overview

Usage for an enterprise account at a monthly resolution.

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ EnterpriseAccountMonthlyUsage

Returns a new instance of EnterpriseAccountMonthlyUsage.



1840
1841
1842
# File 'lib/platform-api/client.rb', line 1840

def initialize(client)
  @client = client
end

Instance Method Details

#info(enterprise_account_id, body = {}) ⇒ Object

Parameters:

  • enterprise_account_id:

    unique identifier of the enterprise account

  • body:

    the object to pass as the request payload



1849
1850
1851
# File 'lib/platform-api/client.rb', line 1849

def info(, body = {})
  @client..info(, body)
end