Class: PlatformAPI::TeamInvoice
- Inherits:
-
Object
- Object
- PlatformAPI::TeamInvoice
- Defined in:
- lib/platform-api/client.rb
Overview
A Team Invoice is an itemized bill of goods for a team which includes pricing and charges.
Instance Method Summary collapse
-
#info(team_name_or_team_id, team_invoice_number) ⇒ Object
Info for existing invoice.
-
#initialize(client) ⇒ TeamInvoice
constructor
A new instance of TeamInvoice.
-
#list(team_name_or_team_id) ⇒ Object
List existing invoices.
Constructor Details
#initialize(client) ⇒ TeamInvoice
Returns a new instance of TeamInvoice.
3189 3190 3191 |
# File 'lib/platform-api/client.rb', line 3189 def initialize(client) @client = client end |
Instance Method Details
#info(team_name_or_team_id, team_invoice_number) ⇒ Object
Info for existing invoice.
3197 3198 3199 |
# File 'lib/platform-api/client.rb', line 3197 def info(team_name_or_team_id, team_invoice_number) @client.team_invoice.info(team_name_or_team_id, team_invoice_number) end |
#list(team_name_or_team_id) ⇒ Object
List existing invoices.
3204 3205 3206 |
# File 'lib/platform-api/client.rb', line 3204 def list(team_name_or_team_id) @client.team_invoice.list(team_name_or_team_id) end |