Class: NCAAFB
- Inherits:
-
ScraperLeague
- Object
- ScraperLeague
- NCAAFB
- Defined in:
- lib/sports/ncaafb.rb
Instance Attribute Summary
Attributes inherited from ScraperLeague
#moneyline_sport, #sport_id, #sport_name
Instance Method Summary collapse
-
#initialize ⇒ NCAAFB
constructor
A new instance of NCAAFB.
- #teams ⇒ Object
Methods inherited from ScraperLeague
#current_games, #live_scores, #standings, #team_schedules
Constructor Details
#initialize ⇒ NCAAFB
4 5 6 7 8 |
# File 'lib/sports/ncaafb.rb', line 4 def initialize @sport_id = 0 @sport_name = 'college-football' super end |
Instance Method Details
#teams ⇒ Object
10 11 12 |
# File 'lib/sports/ncaafb.rb', line 10 def teams @teams ||= scrape_teams end |