lib/sportradar/api/soccer/match.rb in sportradar-api-0.13.15 vs lib/sportradar/api/soccer/match.rb in sportradar-api-0.13.16
- old
+ new
@@ -68,10 +68,10 @@
@home_score = data['home_score'] if data['home_score']
@away_score = data['away_score'] if data['away_score']
@period = data['period'] if data['period']
@match_time = data.dig('clock', 'match_time') if data.dig('clock', 'match_time')
- @stoppage_time = data.dig('clock', 'stoppage_time') if data.dig('clock', 'stoppage_time')
+ @stoppage_time = data.dig('clock', 'stoppage_time')
@ball_locations = data['ball_locations'] if data['ball_locations']
@winner_id = data['winner_id'] if data['winner_id']
@aggregate_home_score = data['aggregate_home_score'] if data['aggregate_home_score']
@aggregate_away_score = data['aggregate_away_score'] if data['aggregate_away_score']