Module: Jibeset
- Extended by:
- Configuration
- Defined in:
- lib/jibeset.rb,
lib/jibeset/api.rb,
lib/jibeset/error.rb,
lib/jibeset/oauth.rb,
lib/jibeset/client.rb,
lib/jibeset/request.rb,
lib/jibeset/version.rb,
lib/jibeset/connection.rb,
lib/jibeset/client/boats.rb,
lib/jibeset/client/users.rb,
lib/jibeset/client/utils.rb,
lib/jibeset/client/events.rb,
lib/jibeset/client/fleets.rb,
lib/jibeset/client/search.rb,
lib/jibeset/configuration.rb,
lib/jibeset/client/entries.rb
Defined Under Namespace
Modules: Configuration, Connection, OAuth, Request Classes: API, BadRequest, Client, Error, InternalServerError, InvalidConfiguration, InvalidSignature, NotFound, ServiceUnavailable
Constant Summary collapse
- VERSION =
'0.2'.freeze
Constants included from Configuration
Configuration::DEFAULT_ACCESS_TOKEN, Configuration::DEFAULT_ADAPTER, Configuration::DEFAULT_CLIENT_ID, Configuration::DEFAULT_CLIENT_SECRET, Configuration::DEFAULT_ENDPOINT, Configuration::DEFAULT_FORMAT, Configuration::DEFAULT_OAUTH_CALLBACK, Configuration::DEFAULT_PROXY, Configuration::DEFAULT_REDIRECT_URI, Configuration::DEFAULT_USER_AGENT, Configuration::VALID_FORMATS, Configuration::VALID_OPTIONS_KEYS
Class Method Summary collapse
-
.client(options = {}) ⇒ Jibeset::Client
Alias for Jibeset::Client.new.
-
.method_missing(method, *args, &block) ⇒ Object
Delegate to Jibeset::Client.
-
.respond_to?(method) ⇒ Boolean
Delegate to Jibeset::Client.
Methods included from Configuration
configure, extended, options, reset
Class Method Details
.client(options = {}) ⇒ Jibeset::Client
Alias for Jibeset::Client.new
12 13 14 |
# File 'lib/jibeset.rb', line 12 def self.client(={}) Jibeset::Client.new() end |
.method_missing(method, *args, &block) ⇒ Object
Delegate to Jibeset::Client
17 18 19 20 |
# File 'lib/jibeset.rb', line 17 def self.method_missing(method, *args, &block) return super unless client.respond_to?(method) client.send(method, *args, &block) end |
.respond_to?(method) ⇒ Boolean
Delegate to Jibeset::Client
23 24 25 |
# File 'lib/jibeset.rb', line 23 def self.respond_to?(method) return client.respond_to?(method) || super end |