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

- old
+ new

@@ -4,10 +4,10 @@ class Event class Lineup < Data 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 + @response = data @event = opts[:event] @description = data["description"] @id = data["id"] @player_id = data["player_id"] @order = data["order"]