class Stattleship::Params::PitchesParams
Attributes
game_id[RW]
hit_location[RW]
hit_type[RW]
hitter_id[RW]
hitter_team_id[RW]
inning[RW]
lower_speed[RW]
pitch_outcome_type[RW]
pitch_type[RW]
pitcher_id[RW]
speed[RW]
speed_and_over[RW]
speed_and_under[RW]
team_id[RW]
upper_speed[RW]
Public Instance Methods
params()
click to toggle source
Calls superclass method
Stattleship::Params::GameTimeParams#params
# File lib/stattleship/params/pitches_params.rb, line 20 def params super.merge('game_id' => game_id, 'hitter_id' => hitter_id, 'pitcher_id' => pitcher_id, 'team_id' => team_id, 'hitter_team_id' => hitter_team_id, 'inning' => inning, 'pitch_outcome_type' => pitch_outcome_type, 'lower_speed' => lower_speed, 'upper_speed' => upper_speed, 'speed' => speed, 'speed_and_over' => speed_and_over, 'speed_and_under' => speed_and_under, 'pitch_type' => pitch_type, 'hit_location' => hit_location, 'hit_type' => hit_type, ) end