Class: PlatformAPI::TeamInvoice

Inherits:
Object
  • Object
show all
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

Constructor Details

#initialize(client) ⇒ TeamInvoice



2923
2924
2925
# File 'lib/platform-api/client.rb', line 2923

def initialize(client)
  @client = client
end

Instance Method Details

#info(team_name_or_team_id, team_invoice_number) ⇒ Object

Info for existing invoice.



2931
2932
2933
# File 'lib/platform-api/client.rb', line 2931

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.



2938
2939
2940
# File 'lib/platform-api/client.rb', line 2938

def list(team_name_or_team_id)
  @client.team_invoice.list(team_name_or_team_id)
end