Class: VegasInsiderScraper::Soccer
Instance Attribute Summary
#moneyline_sport, #vegas_sport_identifier
Instance Method Summary
collapse
#schedule_for, #sport_name
Constructor Details
#initialize ⇒ Soccer
Returns a new instance of Soccer.
4
5
6
7
8
|
# File 'lib/vegas_insider_scraper/soccer.rb', line 4
def initialize
@vegas_sport_identifier = 'soccer'
super
@moneyline_sport = true
end
|
Instance Method Details
#current_games ⇒ Object
10
11
12
13
14
15
|
# File 'lib/vegas_insider_scraper/soccer.rb', line 10
def current_games
@current_games ||= get_lines([
"http://www.vegasinsider.com/#{vegas_sport_identifier}/odds/las-vegas/spread",
"http://www.vegasinsider.com/#{vegas_sport_identifier}/odds/las-vegas/"
])
end
|
#live_scores ⇒ Object
29
30
31
|
# File 'lib/vegas_insider_scraper/soccer.rb', line 29
def live_scores
[]
end
|
#standings ⇒ Object
21
22
23
|
# File 'lib/vegas_insider_scraper/soccer.rb', line 21
def standings
[]
end
|
#team_schedules ⇒ Object
25
26
27
|
# File 'lib/vegas_insider_scraper/soccer.rb', line 25
def team_schedules
[]
end
|
#teams ⇒ Object
17
18
19
|
# File 'lib/vegas_insider_scraper/soccer.rb', line 17
def teams
[]
end
|