lib/sportradar/api/football/drive.rb in sportradar-api-0.11.5 vs lib/sportradar/api/football/drive.rb in sportradar-api-0.11.6
- old
+ new
@@ -52,10 +52,10 @@
def events
@events_hash.values
end
def over?
- !!@end_reason
+ @end_reason != 'UNKNOWN' && !@end_reason.nil?
end
def end_reason_possibilities
[
'UNKNOWN',