Class: Stattleship::TeamOutcomeStreaks

Inherits:
Endpoint
  • Object
show all
Defined in:
lib/stattleship/team_outcome_streaks.rb

Instance Method Summary collapse

Methods inherited from Endpoint

#data, fetch

Instance Method Details

#populateObject



3
4
5
6
7
8
9
# File 'lib/stattleship/team_outcome_streaks.rb', line 3

def populate
  team_outcome_streaks.each do |team_outcome_streak|
    populate_league(team_outcome_streak)
    populate_season(team_outcome_streak)
    populate_teams(team_outcome_streak)
  end
end