Class: NFL
- Inherits:
-
ScraperLeague
- Object
- ScraperLeague
- NFL
- Defined in:
- lib/sports/nfl.rb
Instance Attribute Summary
Attributes inherited from ScraperLeague
#moneyline_sport, #sport_id, #sport_name, #teams
Instance Method Summary collapse
-
#initialize ⇒ NFL
constructor
A new instance of NFL.
Methods inherited from ScraperLeague
#current_games, #live_scores, #standings, #team_schedules
Constructor Details
#initialize ⇒ NFL
Returns a new instance of NFL.
4 5 6 7 8 |
# File 'lib/sports/nfl.rb', line 4 def initialize @sport_id = 2 @sport_name = :nfl super end |