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
- #callbacks ⇒ Freshbooks::API::Callback
- #categories ⇒ Freshbooks::API::Category
- #clients ⇒ Freshbooks::API::Client
- #contractors ⇒ Freshbooks::API::Contractor
- #currencies ⇒ Freshbooks::API::Currency
- #default_terms ⇒ Freshbooks::API::DefaultTerm
- #email_templates ⇒ Freshbooks::API::EmailTemplate
- #estimates ⇒ Freshbooks::API::Estimate
- #expenses ⇒ Freshbooks::API::Expense
- #gateways ⇒ Freshbooks::API::Gateway
- #invoices ⇒ Freshbooks::API::Invoice
- #items ⇒ Freshbooks::API::Item
- #languages ⇒ Freshbooks::API::Language
- #payments ⇒ Freshbooks::API::Payment
- #projects ⇒ Freshbooks::API::Project
- #receipts ⇒ Freshbooks::API::Receipt
- #recurring ⇒ Freshbooks::API::Recurring
- #reports ⇒ Freshbooks::API::Report
- #staff ⇒ Freshbooks::API::Staff
- #systems ⇒ Freshbooks::API::System
- #tasks ⇒ Freshbooks::API::Task
- #taxes ⇒ Freshbooks::API::Tax
- #time_entries ⇒ Freshbooks::API::TimeEntry
Instance Method Details
#callbacks ⇒ Freshbooks::API::Callback
5 6 7 |
# File 'lib/freshbooks/api/methods.rb', line 5 def callbacks Freshbooks::API::Callback.new() end |
#categories ⇒ Freshbooks::API::Category
10 11 12 |
# File 'lib/freshbooks/api/methods.rb', line 10 def categories Freshbooks::API::Category.new() end |
#clients ⇒ Freshbooks::API::Client
15 16 17 |
# File 'lib/freshbooks/api/methods.rb', line 15 def clients Freshbooks::API::Client.new() end |
#contractors ⇒ Freshbooks::API::Contractor
95 96 97 |
# File 'lib/freshbooks/api/methods.rb', line 95 def contractors Freshbooks::API::Contractor.new() end |
#currencies ⇒ Freshbooks::API::Currency
110 111 112 |
# File 'lib/freshbooks/api/methods.rb', line 110 def currencies Freshbooks::API::Currency.new() end |
#default_terms ⇒ Freshbooks::API::DefaultTerm
100 101 102 |
# File 'lib/freshbooks/api/methods.rb', line 100 def default_terms Freshbooks::API::DefaultTerm.new() end |
#email_templates ⇒ Freshbooks::API::EmailTemplate
115 116 117 |
# File 'lib/freshbooks/api/methods.rb', line 115 def email_templates Freshbooks::API::EmailTemplate.new() end |
#estimates ⇒ Freshbooks::API::Estimate
20 21 22 |
# File 'lib/freshbooks/api/methods.rb', line 20 def estimates Freshbooks::API::Estimate.new() end |
#expenses ⇒ Freshbooks::API::Expense
25 26 27 |
# File 'lib/freshbooks/api/methods.rb', line 25 def expenses Freshbooks::API::Expense.new() end |
#gateways ⇒ Freshbooks::API::Gateway
30 31 32 |
# File 'lib/freshbooks/api/methods.rb', line 30 def gateways Freshbooks::API::Gateway.new() end |
#invoices ⇒ Freshbooks::API::Invoice
35 36 37 |
# File 'lib/freshbooks/api/methods.rb', line 35 def invoices Freshbooks::API::Invoice.new() end |
#items ⇒ Freshbooks::API::Item
40 41 42 |
# File 'lib/freshbooks/api/methods.rb', line 40 def items Freshbooks::API::Item.new() end |
#languages ⇒ Freshbooks::API::Language
45 46 47 |
# File 'lib/freshbooks/api/methods.rb', line 45 def languages Freshbooks::API::Language.new() end |
#payments ⇒ Freshbooks::API::Payment
50 51 52 |
# File 'lib/freshbooks/api/methods.rb', line 50 def payments Freshbooks::API::Payment.new() end |
#projects ⇒ Freshbooks::API::Project
55 56 57 |
# File 'lib/freshbooks/api/methods.rb', line 55 def projects Freshbooks::API::Project.new() end |
#receipts ⇒ Freshbooks::API::Receipt
60 61 62 |
# File 'lib/freshbooks/api/methods.rb', line 60 def receipts Freshbooks::API::Receipt.new() end |
#recurring ⇒ Freshbooks::API::Recurring
65 66 67 |
# File 'lib/freshbooks/api/methods.rb', line 65 def recurring Freshbooks::API::Recurring.new() end |
#reports ⇒ Freshbooks::API::Report
105 106 107 |
# File 'lib/freshbooks/api/methods.rb', line 105 def reports Freshbooks::API::Report.new() end |
#staff ⇒ Freshbooks::API::Staff
70 71 72 |
# File 'lib/freshbooks/api/methods.rb', line 70 def staff Freshbooks::API::Staff.new() end |
#systems ⇒ Freshbooks::API::System
75 76 77 |
# File 'lib/freshbooks/api/methods.rb', line 75 def systems Freshbooks::API::System.new() end |
#tasks ⇒ Freshbooks::API::Task
80 81 82 |
# File 'lib/freshbooks/api/methods.rb', line 80 def tasks Freshbooks::API::Task.new() end |
#taxes ⇒ Freshbooks::API::Tax
85 86 87 |
# File 'lib/freshbooks/api/methods.rb', line 85 def taxes Freshbooks::API::Tax.new() end |
#time_entries ⇒ Freshbooks::API::TimeEntry
90 91 92 |
# File 'lib/freshbooks/api/methods.rb', line 90 def time_entries Freshbooks::API::TimeEntry.new() end |