lib/sportradar/api/basketball/ncaamb/game.rb in sportradar-api-0.13.7 vs lib/sportradar/api/basketball/ncaamb/game.rb in sportradar-api-0.13.8
- old
+ new
@@ -14,9 +14,13 @@
else
"#{period}H"
end
end
+ def halftime?
+ status == 'halftime' || clock == '00:00' && period == 1
+ end
+
def team_class
Team
end
def period_class
Half
\ No newline at end of file