Class: PlatformAPI::EnterpriseAccountDailyUsage

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

Overview

Usage for an enterprise account at a daily resolution.

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ EnterpriseAccountDailyUsage

Returns a new instance of EnterpriseAccountDailyUsage.



1842
1843
1844
# File 'lib/platform-api/client.rb', line 1842

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



1851
1852
1853
# File 'lib/platform-api/client.rb', line 1851

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