Class: Sportradar::Nfl::TeamDepthCharts

Inherits:
TeamsRequest show all
Defined in:
lib/sportradar/nfl/team_depth_charts.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.performObject



4
5
6
# File 'lib/sportradar/nfl/team_depth_charts.rb', line 4

def self.perform
  new.perform
end

Instance Method Details

#performObject



8
9
10
11
12
13
14
# File 'lib/sportradar/nfl/team_depth_charts.rb', line 8

def perform
  team_abbreviations.each do |team_abbreviation|
    TeamDepthChart.new(team_abbreviation: team_abbreviation).save
  end

  nil
end