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.



1834
1835
1836
# File 'lib/platform-api/client.rb', line 1834

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



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

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