lib/sportradar/api/football/ncaafb/game.rb in sportradar-api-0.11.65 vs lib/sportradar/api/football/ncaafb/game.rb in sportradar-api-0.11.66
- old
+ new
@@ -9,9 +9,13 @@
@year, @type, @week_number, @away_alias, @home_alias = data.delete('id').split('/')
end
super
end
+ def halftime?
+ clock == ':00' && quarter == 2
+ end
+
def clock_display
if clock && quarter
if clock == ':00' && quarter == 2
'Half'
else