Module: Gems
- Defined in:
- lib/gems.rb,
lib/gems/client.rb,
lib/gems/request.rb,
lib/gems/version.rb,
lib/gems/connection.rb
Defined Under Namespace
Modules: Connection, Request Classes: Client
Constant Summary collapse
- VERSION =
"0.0.2"
Class Method Summary collapse
-
.method_missing(method, *args, &block) ⇒ Object
Delegate to Gems::Client.
-
.new ⇒ Gems::Client
Alias for Gems::Client.new.
- .respond_to?(method, include_private = false) ⇒ Boolean
Class Method Details
.method_missing(method, *args, &block) ⇒ Object
Delegate to Gems::Client
12 13 14 15 |
# File 'lib/gems.rb', line 12 def self.method_missing(method, *args, &block) return super unless new.respond_to?(method) new.send(method, *args, &block) end |
.new ⇒ Gems::Client
Alias for Gems::Client.new
7 8 9 |
# File 'lib/gems.rb', line 7 def self.new Gems::Client.new end |
.respond_to?(method, include_private = false) ⇒ Boolean
17 18 19 |
# File 'lib/gems.rb', line 17 def self.respond_to?(method, include_private=false) new.respond_to?(method, include_private) || super(method, include_private) end |