Freshbooks API Client
Usage
# configure a freshbooks client
freshbooks = Freshbooks::Client.new do |config|
config.api_url = 'https://mycompany.freshbooks.com/'
config.token = 'API_TOKEN'
end
# OR
freshbooks = Freshbooks::Client.new(api_url: 'https://mycompany.freshbooks.com/', token: 'API_TOKEN')
# access an API endpoint
projects = freshbooks.projects # => #<Freshbooks::API::Project>
projects.list # => { ... }
projects = Freshbooks::API::Project.new(config_options)