Class: Stattleship::Params::StatsParams
- Inherits:
-
GameTimeParams
- Object
- QueryParams
- GameTimeParams
- Stattleship::Params::StatsParams
- Defined in:
- lib/stattleship/params/stats_params.rb
Direct Known Subclasses
BaseballStatsParams, BasketballStatsParams, FootballStatsParams, HockeyStatsParams
Instance Attribute Summary collapse
-
#game_id ⇒ Object
Returns the value of attribute game_id.
-
#player_id ⇒ Object
Returns the value of attribute player_id.
-
#stat ⇒ Object
Returns the value of attribute stat.
-
#team_id ⇒ Object
Returns the value of attribute team_id.
-
#type ⇒ Object
Returns the value of attribute type.
Attributes inherited from GameTimeParams
#interval_type, #on, #season_id, #since, #status, #week
Attributes inherited from QueryParams
Method Summary
Methods inherited from QueryParams
Instance Attribute Details
#game_id ⇒ Object
Returns the value of attribute game_id.
4 5 6 |
# File 'lib/stattleship/params/stats_params.rb', line 4 def game_id @game_id end |
#player_id ⇒ Object
Returns the value of attribute player_id.
4 5 6 |
# File 'lib/stattleship/params/stats_params.rb', line 4 def player_id @player_id end |
#stat ⇒ Object
Returns the value of attribute stat.
4 5 6 |
# File 'lib/stattleship/params/stats_params.rb', line 4 def stat @stat end |
#team_id ⇒ Object
Returns the value of attribute team_id.
4 5 6 |
# File 'lib/stattleship/params/stats_params.rb', line 4 def team_id @team_id end |
#type ⇒ Object
Returns the value of attribute type.
4 5 6 |
# File 'lib/stattleship/params/stats_params.rb', line 4 def type @type end |