Class: Stattleship::Params::TeamGameLogsParams
- Inherits:
-
GameTimeParams
- Object
- QueryParams
- GameTimeParams
- Stattleship::Params::TeamGameLogsParams
- Defined in:
- lib/stattleship/params/team_game_logs_params.rb
Direct Known Subclasses
BaseballTeamGameLogsParams, BasketballTeamGameLogsParams, FootballTeamGameLogsParams, HockeyTeamGameLogsParams
Instance Attribute Summary collapse
-
#game_id ⇒ Object
Returns the value of attribute game_id.
-
#team_id ⇒ Object
Returns the value of attribute team_id.
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 Attribute Details
#game_id ⇒ Object
Returns the value of attribute game_id.
4 5 6 |
# File 'lib/stattleship/params/team_game_logs_params.rb', line 4 def game_id @game_id end |
#team_id ⇒ Object
Returns the value of attribute team_id.
4 5 6 |
# File 'lib/stattleship/params/team_game_logs_params.rb', line 4 def team_id @team_id end |
Instance Method Details
#params ⇒ Object
6 7 8 9 |
# File 'lib/stattleship/params/team_game_logs_params.rb', line 6 def params super.merge('team_id' => team_id, 'game_id' => game_id) end |