Class: VegasInsiderScraper

Inherits:
Object
  • Object
show all
Defined in:
lib/vegas_insider_scraper.rb

Constant Summary collapse

SPORTS =
[NCAAFB, NCAABB, NFL, NBA, MLB, NHL]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeVegasInsiderScraper

Returns a new instance of VegasInsiderScraper.



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

def initialize
  @sports = SPORTS.map { |sport_class| sport_class.new }
end

Instance Attribute Details

#sportsObject (readonly)

Returns the value of attribute sports.



14
15
16
# File 'lib/vegas_insider_scraper.rb', line 14

def sports
  @sports
end