Module: VegasInsiderScraper

Defined in:
lib/vegas_insider_scraper.rb,
lib/vegas_insider_scraper/mlb.rb,
lib/vegas_insider_scraper/nba.rb,
lib/vegas_insider_scraper/nfl.rb,
lib/vegas_insider_scraper/nhl.rb,
lib/vegas_insider_scraper/ncaabb.rb,
lib/vegas_insider_scraper/ncaafb.rb,
lib/vegas_insider_scraper/soccer.rb

Defined Under Namespace

Classes: MLB, NBA, NCAABB, NCAAFB, NFL, NHL, Soccer

Constant Summary collapse

SPORTS =
[
  VegasInsiderScraper::NCAAFB,
  VegasInsiderScraper::NCAABB,
  VegasInsiderScraper::NFL,
  VegasInsiderScraper::NBA,
  VegasInsiderScraper::MLB,
  VegasInsiderScraper::NHL,
  VegasInsiderScraper::Soccer
]

Class Method Summary collapse

Class Method Details

.mlbObject



41
42
43
# File 'lib/vegas_insider_scraper.rb', line 41

def self.mlb
  VegasInsiderScraper::MLB.new
end

.nbaObject



37
38
39
# File 'lib/vegas_insider_scraper.rb', line 37

def self.nba
  VegasInsiderScraper::NBA.new
end

.ncaabbObject



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

def self.ncaabb
  VegasInsiderScraper::NCAABB.new
end

.ncaafbObject



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

def self.ncaafb
  VegasInsiderScraper::NCAAFB.new
end

.nflObject



33
34
35
# File 'lib/vegas_insider_scraper.rb', line 33

def self.nfl
  VegasInsiderScraper::NFL.new
end

.nhlObject



45
46
47
# File 'lib/vegas_insider_scraper.rb', line 45

def self.nhl
  VegasInsiderScraper::NHL.new
end

.soccerObject



49
50
51
# File 'lib/vegas_insider_scraper.rb', line 49

def self.soccer
  VegasInsiderScraper::Soccer.new
end