Module: Toppr
- Defined in:
- lib/toppr.rb,
lib/toppr/client.rb,
lib/toppr/version.rb,
lib/toppr/client/user.rb,
lib/toppr/client/wallpaper.rb
Defined Under Namespace
Classes: Client
Constant Summary collapse
- VERSION =
'0.8.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
14 15 16 17 |
# File 'lib/toppr.rb', line 14 def method_missing(method, *args, &block) return super unless new.respond_to?(method) new.send(method, *args, &block) end |
.respond_to?(method, include_private = false) ⇒ Boolean
19 20 21 |
# File 'lib/toppr.rb', line 19 def respond_to?(method, include_private=false) new.respond_to?(method, include_private) || super(method, include_private) end |