Class: Sportradar::Nfl::TeamDepthCharts
- Inherits:
-
TeamsRequest
- Object
- TeamsRequest
- Sportradar::Nfl::TeamDepthCharts
- Defined in:
- lib/sportradar/nfl/team_depth_charts.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.perform ⇒ Object
4 5 6 |
# File 'lib/sportradar/nfl/team_depth_charts.rb', line 4 def self.perform new.perform end |
Instance Method Details
#perform ⇒ Object
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 |