Module: Freshbooks::API::Methods

Included in:
Client
Defined in:
lib/freshbooks/api/methods.rb

Overview

Defines methods for accessing API endpoints from the main [Freshbooks::Client] class.

Instance Method Summary collapse

Instance Method Details

#callbacksFreshbooks::API::Callback


5
6
7
# File 'lib/freshbooks/api/methods.rb', line 5

def callbacks
  Freshbooks::API::Callback.new(options)
end

#categoriesFreshbooks::API::Category


10
11
12
# File 'lib/freshbooks/api/methods.rb', line 10

def categories
  Freshbooks::API::Category.new(options)
end

#clientsFreshbooks::API::Client


15
16
17
# File 'lib/freshbooks/api/methods.rb', line 15

def clients
  Freshbooks::API::Client.new(options)
end

#contractorsFreshbooks::API::Contractor


95
96
97
# File 'lib/freshbooks/api/methods.rb', line 95

def contractors
  Freshbooks::API::Contractor.new(options)
end

#currenciesFreshbooks::API::Currency


110
111
112
# File 'lib/freshbooks/api/methods.rb', line 110

def currencies
  Freshbooks::API::Currency.new(options)
end

#default_termsFreshbooks::API::DefaultTerm


100
101
102
# File 'lib/freshbooks/api/methods.rb', line 100

def default_terms
  Freshbooks::API::DefaultTerm.new(options)
end

#email_templatesFreshbooks::API::EmailTemplate


115
116
117
# File 'lib/freshbooks/api/methods.rb', line 115

def email_templates
  Freshbooks::API::EmailTemplate.new(options)
end

#estimatesFreshbooks::API::Estimate


20
21
22
# File 'lib/freshbooks/api/methods.rb', line 20

def estimates
  Freshbooks::API::Estimate.new(options)
end

#expensesFreshbooks::API::Expense


25
26
27
# File 'lib/freshbooks/api/methods.rb', line 25

def expenses
  Freshbooks::API::Expense.new(options)
end

#gatewaysFreshbooks::API::Gateway


30
31
32
# File 'lib/freshbooks/api/methods.rb', line 30

def gateways
  Freshbooks::API::Gateway.new(options)
end

#invoicesFreshbooks::API::Invoice


35
36
37
# File 'lib/freshbooks/api/methods.rb', line 35

def invoices
  Freshbooks::API::Invoice.new(options)
end

#itemsFreshbooks::API::Item


40
41
42
# File 'lib/freshbooks/api/methods.rb', line 40

def items
  Freshbooks::API::Item.new(options)
end

#languagesFreshbooks::API::Language


45
46
47
# File 'lib/freshbooks/api/methods.rb', line 45

def languages
  Freshbooks::API::Language.new(options)
end

#paymentsFreshbooks::API::Payment


50
51
52
# File 'lib/freshbooks/api/methods.rb', line 50

def payments
  Freshbooks::API::Payment.new(options)
end

#projectsFreshbooks::API::Project


55
56
57
# File 'lib/freshbooks/api/methods.rb', line 55

def projects
  Freshbooks::API::Project.new(options)
end

#receiptsFreshbooks::API::Receipt


60
61
62
# File 'lib/freshbooks/api/methods.rb', line 60

def receipts
  Freshbooks::API::Receipt.new(options)
end

#recurringFreshbooks::API::Recurring


65
66
67
# File 'lib/freshbooks/api/methods.rb', line 65

def recurring
  Freshbooks::API::Recurring.new(options)
end

#reportsFreshbooks::API::Report


105
106
107
# File 'lib/freshbooks/api/methods.rb', line 105

def reports
  Freshbooks::API::Report.new(options)
end

#staffFreshbooks::API::Staff


70
71
72
# File 'lib/freshbooks/api/methods.rb', line 70

def staff
  Freshbooks::API::Staff.new(options)
end

#systemsFreshbooks::API::System


75
76
77
# File 'lib/freshbooks/api/methods.rb', line 75

def systems
  Freshbooks::API::System.new(options)
end

#tasksFreshbooks::API::Task


80
81
82
# File 'lib/freshbooks/api/methods.rb', line 80

def tasks
  Freshbooks::API::Task.new(options)
end

#taxesFreshbooks::API::Tax


85
86
87
# File 'lib/freshbooks/api/methods.rb', line 85

def taxes
  Freshbooks::API::Tax.new(options)
end

#time_entriesFreshbooks::API::TimeEntry


90
91
92
# File 'lib/freshbooks/api/methods.rb', line 90

def time_entries
  Freshbooks::API::TimeEntry.new(options)
end