Class: Stattleship::Params::BasketballTeamStatsParams
- Inherits:
-
BasketballStatsParams
- Object
- QueryParams
- GameTimeParams
- StatsParams
- BasketballStatsParams
- Stattleship::Params::BasketballTeamStatsParams
- Defined in:
- lib/stattleship/params/basketball_team_stats_params.rb
Instance Attribute Summary
Attributes inherited from StatsParams
#game_id, #player_id, #stat, #team_id, #type
Attributes inherited from GameTimeParams
#interval_type, #on, #season_id, #since, #status, #week
Attributes inherited from QueryParams
Instance Method Summary collapse
Methods inherited from QueryParams
Instance Method Details
#params ⇒ Object
4 5 6 7 |
# File 'lib/stattleship/params/basketball_team_stats_params.rb', line 4 def params super.merge('type' => 'basketball_team_stat'). delete_if { |key| key == 'player_id' } end |