lib/sportradar/api/baseball/events/lineup.rb in sportradar-api-0.10.45 vs lib/sportradar/api/baseball/events/lineup.rb in sportradar-api-0.10.46

- old
+ new

@@ -6,9 +6,10 @@ attr_accessor :response, :id, :hitter_id, :outcome, :description, :event, :player_id, :order, :position, :team_id, :last_name, :first_name, :preferred_name, :jersey_number def initialize(data, **opts) # @response = data @event = opts[:event] + @description = data["description"] @id = data["id"] @player_id = data["player_id"] @order = data["order"] @position = data["position"] @team_id = data["team_id"]