Class: Fixer::Jobs

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

Constant Summary

Constants included from Connection

Connection::ALLOWED_OPTIONS

Constants included from Configuration

Configuration::DEFAULT_ADAPTER, Configuration::DEFAULT_ENDPOINT, Configuration::DEFAULT_QUEUE, Configuration::DEFAULT_USER_AGENT, 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

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



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

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