lib/sportradar/api/soccer/match.rb in sportradar-api-0.13.8 vs lib/sportradar/api/soccer/match.rb in sportradar-api-0.13.9

- old
+ new

@@ -6,9 +6,10 @@ attr_reader :home_score, :away_score, :winner_id, :aggregate_home_score, :aggregate_away_score, :aggregate_winner_id attr_reader :referee, :weather_info, :coverage_info, :probabilities attr_reader :home, :away, :tournament_id attr_reader :period, :score, :broadcast, :coverage # these are for consistency with other sports attr_reader :match_time, :stoppage_time + attr_reader :team_stats, :player_stats def initialize(data = {}, league_group: nil, **opts) @response = data @id = data['id'] @api = opts[:api]