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.



1897
1898
1899
# File 'lib/platform-api/client.rb', line 1897

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



1906
1907
1908
# File 'lib/platform-api/client.rb', line 1906

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