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