Module: Reach
- Defined in:
- lib/reach-api.rb,
lib/reach/api.rb,
lib/reach/helper.rb,
lib/reach/version.rb,
lib/reach/api/file.rb,
lib/reach/api/game.rb,
lib/reach/api/player.rb
Defined Under Namespace
Class Method Summary collapse
-
.method_missing(method, *args, &block) ⇒ Object
Delegate to Reach::API.
-
.new(options) ⇒ Object
Alias for Reach::API.new.
- .respond_to?(method, include_private = false) ⇒ Boolean
Class Method Details
.method_missing(method, *args, &block) ⇒ Object
Delegate to Reach::API
12 13 14 15 |
# File 'lib/reach-api.rb', line 12 def method_missing(method, *args, &block) return super unless new.respond_to?(method) new.send(method, *args, &block) end |
.new(options) ⇒ Object
Alias for Reach::API.new
Returns a Reach::API object
7 8 9 |
# File 'lib/reach-api.rb', line 7 def new() Reach::API.new() end |
.respond_to?(method, include_private = false) ⇒ Boolean
17 18 19 |
# File 'lib/reach-api.rb', line 17 def respond_to?(method, include_private=false) new.respond_to?(method, include_private) || super(method, include_private) end |