class Stattleship::Rankings
Constants
- RANKINGS_PATH
Public Class Methods
fetch(params:)
click to toggle source
Calls superclass method
Stattleship::Endpoint::fetch
# File lib/stattleship/rankings.rb, line 6 def self.fetch(params:) super(path: RANKINGS_PATH, params: params) end
Public Instance Methods
populate()
click to toggle source
# File lib/stattleship/rankings.rb, line 11 def populate rankings.each do |ranking| populate_games(ranking) games.each do |game| populate_game(game) end populate_players(ranking) populate_player_teams(ranking) populate_teams(ranking) end end