module ESPN

Public: The ESPN Module that all other modules and classes will be a part of. This module extends the Configuration module so you can modify defaults at this level.

Constants

VERSION

Public: The version of the ESPN gem.

Public Class Methods

method_missing(method, *args, &block) click to toggle source

Public: Delegate methods to ESPN::Client.new. If a ESPN::Client does not respond_to? the :method, pass it up the chain.

Returns nothing.

Calls superclass method
# File lib/espn.rb, line 26
def method_missing(method, *args, &block)
  return super unless new.respond_to?(method)
  new.send(method, *args, &block)
end
new(options={}) click to toggle source

Public: An alias for ESPN::Client.new.

Returns an ESPN::Client.

# File lib/espn.rb, line 18
def new(options={})
  ESPN::Client.new(options)
end
respond_to?(method, include_private=false) click to toggle source

Public: Delegate to ESPN::Client.new respond_to?

Returns nothing.

Calls superclass method
# File lib/espn.rb, line 34
def respond_to?(method, include_private=false)
  new.respond_to?(method, include_private) || super(method, include_private)
end