Class: Freshbooks::API::System

Inherits:
Client
  • Object
show all
Includes:
NoCRUDL
Defined in:
lib/freshbooks/api/system.rb

Overview

Instance Attribute Summary

Attributes inherited from Client

#api_url, #token

Instance Method Summary collapse

Methods included from NoCRUDL

included

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 system’s information (beta).



9
10
11
# File 'lib/freshbooks/api/system.rb', line 9

def current(params = {})
  call('system.current', params)
end