Class: Stattleship::Params::StatsParams

Inherits:
GameTimeParams show all
Defined in:
lib/stattleship/params/stats_params.rb

Instance Attribute Summary collapse

Attributes inherited from GameTimeParams

#interval_type, #on, #season_id, #since, #status, #week

Attributes inherited from QueryParams

#page, #per_page, #season_id

Method Summary

Methods inherited from QueryParams

#query, #validate

Instance Attribute Details

#game_idObject

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_idObject

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

#statObject

Returns the value of attribute stat.



4
5
6
# File 'lib/stattleship/params/stats_params.rb', line 4

def stat
  @stat
end

#team_idObject

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

#typeObject

Returns the value of attribute type.



4
5
6
# File 'lib/stattleship/params/stats_params.rb', line 4

def type
  @type
end