Class: Stattleship::Injuries

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

Instance Method Summary collapse

Methods inherited from Endpoint

#data, fetch

Instance Method Details

#populateObject


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

def populate
  injuries.each do |injury|
    populate_players(injury)
    populate_season(injury)
    populate_season_league(injury)
    populate_teams(injury)
  end
end