Class: NCAAFB

Inherits:
ScraperLeague show all
Defined in:
lib/sports/ncaafb.rb

Instance Attribute Summary

Attributes inherited from ScraperLeague

#moneyline_sport, #sport_id, #sport_name

Instance Method Summary collapse

Methods inherited from ScraperLeague

#current_games, #live_scores, #standings, #team_schedules

Constructor Details

#initializeNCAAFB



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

#teamsObject



10
11
12
# File 'lib/sports/ncaafb.rb', line 10

def teams
  @teams ||= scrape_teams
end