lib/sportradar/api/football/ncaafb/game.rb in sportradar-api-0.11.55 vs lib/sportradar/api/football/ncaafb/game.rb in sportradar-api-0.11.56
- old
+ new
@@ -11,10 +11,14 @@
super
end
def clock_display
if clock && quarter
- quarter > 4 ? quarter_display : "#{clock} #{quarter_display}"
+ if clock == ':00' && quarter == 2
+ 'Halftime'
+ else
+ quarter > 4 ? quarter_display : "#{clock} #{quarter_display}"
+ end
end
end
def path_base
"#{ year }/#{ type }/#{ week_number.to_s }/#{ away_alias }/#{ home_alias }"