class Stattleship::Params::AtBatsParams

Attributes

game_id[RW]
hit_location[RW]
hit_type[RW]
hitter_id[RW]
hitter_team_id[RW]
inning[RW]
team_id[RW]

Public Instance Methods

params() click to toggle source
# File lib/stattleship/params/at_bats_params.rb, line 12
def params
  super.merge('game_id' => game_id,
              'hitter_id' => hitter_id,
              'hitter_team_id' => hitter_team_id,
              'inning' => inning,
              'hit_location' => hit_location,
              'hit_type' => hit_type,
             )
end