Module: SeeClickFix

Extended by:
Configuration
Defined in:
lib/seeclickfix.rb,
lib/seeclickfix/client.rb,
lib/seeclickfix/request.rb,
lib/seeclickfix/version.rb,
lib/seeclickfix/connection.rb,
lib/seeclickfix/client/issues.rb,
lib/seeclickfix/configuration.rb,
lib/seeclickfix/client/comments.rb,
lib/seeclickfix/client/watch_areas.rb,
lib/seeclickfix/client/service_request_types.rb,
lib/seeclickfix/client/service_request_questions.rb

Defined Under Namespace

Modules: Configuration, Request Classes: Client

Constant Summary collapse

VERSION =
"0.0.5"

Constants included from Configuration

Configuration::DEFAULT_ADAPTER, Configuration::DEFAULT_API_KEY, Configuration::DEFAULT_API_VERSION, Configuration::DEFAULT_LOGIN, Configuration::DEFAULT_OAUTH_TOKEN, Configuration::DEFAULT_PASSWORD, Configuration::DEFAULT_PROXY, Configuration::DEFAULT_TOKEN, Configuration::DEFAULT_USER_AGENT, Configuration::VALID_OPTIONS_KEYS

Class Method Summary collapse

Methods included from Configuration

configure, extended, options, reset

Class Method Details

.client(options = {}) ⇒ SeeClickFix::Client

Alias for SeeClickFix::Client.new

Returns:



10
11
12
# File 'lib/seeclickfix.rb', line 10

def self.client(options={})
  SeeClickFix::Client.new(options)
end

.method_missing(method, *args, &block) ⇒ Object

Delegate to SeeClickFix::Client.new



15
16
17
18
# File 'lib/seeclickfix.rb', line 15

def self.method_missing(method, *args, &block)
  return super unless client.respond_to?(method)
  client.send(method, *args, &block)
end

.respond_to?(method, include_private = false) ⇒ Boolean

Returns:

  • (Boolean)


20
21
22
# File 'lib/seeclickfix.rb', line 20

def self.respond_to?(method, include_private=false)
  client.respond_to?(method, include_private) || super(method, include_private)
end