Class: Freshbooks::API::Staff
- Defined in:
- lib/freshbooks/api/staff.rb
Overview
Instance Attribute Summary
Attributes inherited from Client
Instance Method Summary collapse
-
#current(params = {}) ⇒ Object
Returns the current user's details.
Methods inherited from Client
#call, #hash_to_raw_xml, #initialize, #options, #parse, #post, #to_request, #underscore
Methods included from CRUD
#create, #delete, #get, #list, #update
Methods included from Methods
#callbacks, #categories, #clients, #contractors, #currencies, #default_terms, #email_templates, #estimates, #expenses, #gateways, #invoices, #items, #languages, #payments, #projects, #receipts, #recurring, #reports, #staff, #systems, #tasks, #taxes, #time_entries
Constructor Details
This class inherits a constructor from Freshbooks::Client
Instance Method Details
#current(params = {}) ⇒ Object
Returns the current user's details.
8 9 10 |
# File 'lib/freshbooks/api/staff.rb', line 8 def current(params = {}) call('staff.current', params) end |