Class: VegasInsiderScraper::Soccer

Inherits:
ScraperLeague show all
Defined in:
lib/vegas_insider_scraper/soccer.rb

Instance Attribute Summary

Attributes inherited from ScraperLeague

#moneyline_sport, #vegas_sport_identifier

Instance Method Summary collapse

Methods inherited from ScraperLeague

#schedule_for, #sport_name

Constructor Details

#initializeSoccer

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_gamesObject



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_scoresObject



29
30
31
# File 'lib/vegas_insider_scraper/soccer.rb', line 29

def live_scores
  []
end

#standingsObject



21
22
23
# File 'lib/vegas_insider_scraper/soccer.rb', line 21

def standings
  []
end

#team_schedulesObject



25
26
27
# File 'lib/vegas_insider_scraper/soccer.rb', line 25

def team_schedules
  []
end

#teamsObject



17
18
19
# File 'lib/vegas_insider_scraper/soccer.rb', line 17

def teams
  []
end