lib/sportradar/api/soccer/event.rb in sportradar-api-0.13.9 vs lib/sportradar/api/soccer/event.rb in sportradar-api-0.13.10
- old
+ new
@@ -1,9 +1,9 @@
module Sportradar
module Api
module Soccer
class Event < Data
- attr_reader :id, :type, :time, :period, :period_type, :period_name, :match_time, :team, :x, :y, :outcome, :home_score, :away_score, :goal_scorer, :stoppage_time, :player_out, :player_in, :player
+ attr_reader :id, :type, :time, :period, :period_type, :period_name, :match_time, :team, :x, :y, :outcome, :home_score, :away_score, :goal_scorer, :stoppage_time, :player_out, :player_in, :player, :commentaries
def initialize(data, **opts)
@response = data
@id = data["id"]