Class: Footstats::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/footstats/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#authObject (readonly)

Returns the value of attribute auth.



5
6
7
# File 'lib/footstats/client.rb', line 5

def auth
  @auth
end

Instance Method Details

#racingObject



7
8
9
10
# File 'lib/footstats/client.rb', line 7

def racing
  require 'footstats/api/racing'
  Footstats::Api::Racing.new
end

#soccerObject



12
13
14
15
# File 'lib/footstats/client.rb', line 12

def soccer
  require 'footstats/api/soccer'
  Footstats::Api::Racing.new
end