Class: Stattleship::Feats

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

Instance Method Summary collapse

Methods inherited from Endpoint

#data, fetch

Instance Method Details

#populateObject


60
61
62
63
64
65
66
67
68
69
70
71
72
73
# File 'lib/stattleship/feats.rb', line 60

def populate
  feats.each do |feat|
    populate_games(feat)

    games.each do |game|
      populate_game(game)
    end

    populate_teams(feat)

    populate_players(feat)
    populate_player(feat.player)
  end
end