lib/sportradar/api/basketball/plays/timeout.rb in sportradar-api-0.9.52 vs lib/sportradar/api/basketball/plays/timeout.rb in sportradar-api-0.9.53
- old
+ new
@@ -5,10 +5,10 @@
attr_writer :media_timeout
def display_type
'Timeout'
end
def identifier
- "#{quarter}_#{720 - clock_seconds}".to_i
+ "#{quarter}_#{(720 - clock_seconds).to_s.rjust(3, '0')}".to_i
end
def timeout?
true
end
def full?