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.



1860
1861
1862
# File 'lib/platform-api/client.rb', line 1860

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



1869
1870
1871
# File 'lib/platform-api/client.rb', line 1869

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