lib/sportradar/api/football/drive.rb in sportradar-api-0.11.61 vs lib/sportradar/api/football/drive.rb in sportradar-api-0.11.62
- old
+ new
@@ -48,9 +48,13 @@
def overtime?
@overtime
end
+ def halftime?
+ self.end_reason == 'End of Half'
+ end
+
def plays
@plays_hash.values
end
def events