lib/sportradar/api/football/ncaafb/game.rb in sportradar-api-0.11.16 vs lib/sportradar/api/football/ncaafb/game.rb in sportradar-api-0.11.17

- old
+ new

@@ -9,9 +9,15 @@ @year, @type, @week_number, @away_alias, @home_alias = data.delete('id').split('/') end super end + def clock_display + if clock && quarter + quarter > 4 ? quarter_display : "#{clock} #{quarter_display}" + end + end + def path_base "#{ year }/#{ type }/#{ week_number.to_s }/#{ away_alias }/#{ home_alias }" end def generate_title