Module: Coderwall
- Defined in:
- lib/coderwall-api.rb,
lib/coderwall-api/client.rb,
lib/coderwall-api/version.rb,
lib/coderwall-api/client/profile.rb
Defined Under Namespace
Constant Summary collapse
- VERSION =
"0.0.1"
Class Method Summary collapse
- .method_missing(method, *args, &block) ⇒ Object
- .new ⇒ Object
- .respond_to?(method, include_private = false) ⇒ Boolean
Class Method Details
.method_missing(method, *args, &block) ⇒ Object
13 14 15 16 |
# File 'lib/coderwall-api.rb', line 13 def method_missing(method, *args, &block) return super unless new.respond_to?(method) new.send(method, *args, &block) end |
.new ⇒ Object
9 10 11 |
# File 'lib/coderwall-api.rb', line 9 def new Coderwall::Client.new end |
.respond_to?(method, include_private = false) ⇒ Boolean
18 19 20 |
# File 'lib/coderwall-api.rb', line 18 def respond_to?(method, include_private=false) new.respond_to?(method, include_private) || super(method, include_private) end |