Class: Upwork::Api::Routers::Reports::Finance::Billings

Inherits:
Object
  • Object
show all
Defined in:
lib/upwork/api/routers/reports/finance/billings.rb

Overview

Generate Billing Reports

Constant Summary collapse

ENTRY_POINT =
'gds'

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ Billings

Init

Arguments:

client: (Client)


27
28
29
30
# File 'lib/upwork/api/routers/reports/finance/billings.rb', line 27

def initialize(client)
  @client = client
  @client.epoint = ENTRY_POINT 
end

Instance Method Details

#get_by_buyers_company(buyer_company_reference, params) ⇒ Object

Generate Billing Reports for a Specific Buyer’s Company

Arguments:

buyer_company_reference: (String)
params: (Hash)


77
78
79
80
# File 'lib/upwork/api/routers/reports/finance/billings.rb', line 77

def get_by_buyers_company(buyer_company_reference, params)
  $LOG.i "running " + __method__.to_s
  raise StandardError.new "The legacy API was deprecated. Please, use GraphQL call - see example in this library."
end

#get_by_buyers_team(buyer_team_reference, params) ⇒ Object

Generate Billing Reports for a Specific Buyer’s Team

Arguments:

buyer_team_reference: (String)
params: (Hash)


67
68
69
70
# File 'lib/upwork/api/routers/reports/finance/billings.rb', line 67

def get_by_buyers_team(buyer_team_reference, params)
  $LOG.i "running " + __method__.to_s
  raise StandardError.new "The legacy API was deprecated. Please, use GraphQL call - see example in this library."
end

#get_by_freelancer(freelancer_reference, params) ⇒ Object

Generate Billing Reports for a Specific Freelancer

Arguments:

freelancer_reference: (String)
params: (Hash)


37
38
39
40
# File 'lib/upwork/api/routers/reports/finance/billings.rb', line 37

def get_by_freelancer(freelancer_reference, params)
  $LOG.i "running " + __method__.to_s
  raise StandardError.new "The legacy API was deprecated. Please, use GraphQL call - see example in this library."
end

#get_by_freelancers_company(freelancer_company_reference, params) ⇒ Object

Generate Billing Reports for a Specific Freelancer’s Company

Arguments:

freelancer_company_reference: (String)
params: (Hash)


57
58
59
60
# File 'lib/upwork/api/routers/reports/finance/billings.rb', line 57

def get_by_freelancers_company(freelancer_company_reference, params)
  $LOG.i "running " + __method__.to_s
  raise StandardError.new "The legacy API was deprecated. Please, use GraphQL call - see example in this library."
end

#get_by_freelancers_team(freelancer_team_reference, params) ⇒ Object

Generate Billing Reports for a Specific Freelancer’s Team

Arguments:

freelancer_team_reference: (String)
params: (Hash)


47
48
49
50
# File 'lib/upwork/api/routers/reports/finance/billings.rb', line 47

def get_by_freelancers_team(freelancer_team_reference, params)
  $LOG.i "running " + __method__.to_s
  raise StandardError.new "The legacy API was deprecated. Please, use GraphQL call - see example in this library."
end