lib/sportradar/api/basketball/plays/base.rb in sportradar-api-0.9.38 vs lib/sportradar/api/basketball/plays/base.rb in sportradar-api-0.9.39

- old
+ new

@@ -61,10 +61,10 @@ def clock_seconds m,s = @clock.split(':') m.to_i * 60 + s.to_i end - def game_seconds + def nba_game_seconds ([quarter, 4].min * 720) + ([quarter - 4, 0].max * 300) - clock_seconds # seconds elapsed in game, only works for NBA end def update(data, **opts) @event_type = data['event_type'] # "lineupchange",