Class: Stattleship::Params::FootballGameLogsParams

Inherits:
GameLogsParams show all
Defined in:
lib/stattleship/params/football_game_logs_params.rb

Instance Attribute Summary collapse

Attributes inherited from GameLogsParams

#game_id, #player_id, #team_id

Attributes inherited from GameTimeParams

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

Attributes inherited from QueryParams

#page, #per_page, #season_id

Instance Method Summary collapse

Methods inherited from QueryParams

#query, #validate

Instance Attribute Details

#weekObject

Returns the value of attribute week


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

def week
  @week
end

Instance Method Details

#paramsObject


6
7
8
# File 'lib/stattleship/params/football_game_logs_params.rb', line 6

def params
  super.merge('week' => week)
end