Module: Mog
- Defined in:
- lib/mog.rb,
lib/mog/client.rb,
lib/mog/version.rb
Defined Under Namespace
Classes: Client
Constant Summary collapse
- VERSION =
"0.0.3"
Class Method Summary collapse
-
.client(options = {}) ⇒ Mog::Client
Alias for Mog::Client.new.
-
.method_missing(method, *args, &block) ⇒ Object
Delegate to Mog::Client.
-
.new(options = {}) ⇒ Mog::Client
Alias for Mog::Client.new.
- .respond_to?(method, include_private = false) ⇒ Boolean
Class Method Details
.client(options = {}) ⇒ Mog::Client
Alias for Mog::Client.new
7 8 9 |
# File 'lib/mog.rb', line 7 def self.client(={}) Mog::Client.new() end |
.method_missing(method, *args, &block) ⇒ Object
Delegate to Mog::Client
19 20 21 22 |
# File 'lib/mog.rb', line 19 def self.method_missing(method, *args, &block) return super unless new.respond_to?(method) new.send(method, *args, &block) end |
.new(options = {}) ⇒ Mog::Client
Alias for Mog::Client.new
14 15 16 |
# File 'lib/mog.rb', line 14 def self.new(={}) Mog::Client.new() end |
.respond_to?(method, include_private = false) ⇒ Boolean
24 25 26 |
# File 'lib/mog.rb', line 24 def self.respond_to?(method, include_private = false) new.respond_to?(method, include_private) || super(method, include_private) end |