Class: Fixer::Client

Inherits:
API
  • Object
show all
Defined in:
lib/fixer/client.rb

Constant Summary

Constants included from Connection

Fixer::Connection::ALLOWED_OPTIONS

Constants included from Configuration

Fixer::Configuration::DEFAULT_ADAPTER, Fixer::Configuration::DEFAULT_ENDPOINT, Fixer::Configuration::DEFAULT_QUEUE, Fixer::Configuration::DEFAULT_USER_AGENT, Fixer::Configuration::VALID_OPTIONS_KEYS

Instance Attribute Summary

Attributes inherited from API

#current_options

Instance Method Summary collapse

Methods inherited from API

#apply_options, #args_to_options, #base_path, #create, #delete, #get, #initialize, #list, #request, #update

Methods included from Connection

#connection, #get_token, #process_options

Methods included from Configuration

#configure, extended, keys, #options, #reset!

Constructor Details

This class inherits a constructor from Fixer::API

Instance Method Details

#jobs(params = {}, &block) ⇒ Object



5
6
7
# File 'lib/fixer/client.rb', line 5

def jobs(params={}, &block)
  @jobs ||= ApiFactory.api('Fixer::Jobs', self, params, &block)
end