class CBS::Client

Attributes

open_timeout[RW]
sport[RW]
timeout[RW]

Public Class Methods

new(opts={}) click to toggle source
# File lib/cbs/client.rb, line 13
def initialize(opts={})
  options = CBS.options.merge(opts)
  Configuration::VALID_OPTIONS_KEYS.each do |key|
    send("#{key}=", options[key])
  end
end

Public Instance Methods

api_url() click to toggle source
# File lib/cbs/client.rb, line 20
def api_url
  "http://api.cbssports.com/fantasy/"
end