Module: IDoneThis
- Extended by:
- Configuration
- Defined in:
- lib/idonethis.rb,
lib/idonethis/error.rb,
lib/idonethis/client.rb,
lib/idonethis/version.rb,
lib/idonethis/connection.rb,
lib/idonethis/middleware.rb,
lib/idonethis/models/done.rb,
lib/idonethis/configuration.rb
Defined Under Namespace
Modules: Configuration, Connection Classes: Client, Done, Error, Middleware, ServiceError
Constant Summary collapse
- VERSION =
"0.0.3"
Constants included from Configuration
Configuration::DEFAULT_PASSWORD, Configuration::DEFAULT_TEAM, Configuration::DEFAULT_USERNAME, Configuration::VALID_OPTIONS_KEYS
Class Method Summary collapse
- .client(options = {}) ⇒ Object
- .method_missing(method, *args, &block) ⇒ Object
- .respond_to?(method) ⇒ Boolean
Methods included from Configuration
configure, extended, options, reset
Class Method Details
.client(options = {}) ⇒ Object
16 17 18 |
# File 'lib/idonethis.rb', line 16 def self.client(={}) IDoneThis::Client.new() end |
.method_missing(method, *args, &block) ⇒ Object
20 21 22 23 |
# File 'lib/idonethis.rb', line 20 def self.method_missing(method, *args, &block) return super unless client.respond_to?(method) client.send(method, *args, &block) end |
.respond_to?(method) ⇒ Boolean
25 26 27 |
# File 'lib/idonethis.rb', line 25 def self.respond_to?(method) return client.respond_to?(method) || super end |