Class: Stattleship::StatLeaders

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

Instance Method Summary collapse

Methods inherited from Endpoint

#data, fetch

Instance Method Details

#populateObject


25
26
27
28
29
30
31
# File 'lib/stattleship/stat_leaders.rb', line 25

def populate
  stat_leaders.each do |leader|
    populate_players(leader)
    populate_player_teams(leader)
    populate_season(leader)
  end
end