class VegasInsiderScraper::NHL
Public Class Methods
new()
click to toggle source
Calls superclass method
ScraperLeague::new
# File lib/vegas_insider_scraper/nhl.rb, line 4 def initialize @vegas_sport_identifier = 'nhl' super @moneyline_sport = true end
Public Instance Methods
current_games()
click to toggle source
# File lib/vegas_insider_scraper/nhl.rb, line 10 def current_games @current_games ||= get_lines(["http://www.vegasinsider.com/#{vegas_sport_identifier}/odds/las-vegas/puck/", "http://www.vegasinsider.com/#{vegas_sport_identifier}/odds/las-vegas/"]) end