Module: BleacherApi::Config

Defined in:
lib/bleacher_api/config.rb

Class Method Summary collapse

Class Method Details

.token(token = nil) ⇒ Object



10
11
12
13
# File 'lib/bleacher_api/config.rb', line 10

def token(token=nil)
  @token = token unless token.nil?
  @token
end

.url(url = nil) ⇒ Object



5
6
7
8
# File 'lib/bleacher_api/config.rb', line 5

def url(url=nil)
  @url = url unless url.nil?
  @url || 'http://bleacherreport.com'
end