lib/sportradar/api/basketball/plays/timeout.rb in sportradar-api-0.9.35 vs lib/sportradar/api/basketball/plays/timeout.rb in sportradar-api-0.9.36
- old
+ new
@@ -4,10 +4,16 @@
class Timeout < Play::Base
attr_writer :media_timeout
def display_type
'Timeout'
end
+ def identifier
+ "#{quarter}_#{clock_seconds}".to_i
+ end
def timeout?
+ true
+ end
+ def full?
true
end
def media_timeout?
@media_timeout
end