lib/sportradar/api/football/game.rb in sportradar-api-0.11.25 vs lib/sportradar/api/football/game.rb in sportradar-api-0.11.26

- old
+ new

@@ -166,10 +166,10 @@ def leading_team @teams_hash[leading_team_id] || (@away_id == leading_team_id && away) || (@home_id == leading_team_id && home) end def current_possession_team_id - drives.last.team_id + drives.grep(Sportradar::Api::Football::Drive).last.team_id end def next_possession_team_id (@teams_hash.keys - [current_possession_team_id]).first || (@away_id == current_possession_team_id && @home_id) || (@home_id == current_possession_team_id && @away_id) end