lib/sportradar/api/nfl/game.rb in sportradar-api-0.9.0 vs lib/sportradar/api/nfl/game.rb in sportradar-api-0.9.1
- old
+ new
@@ -48,9 +48,17 @@
@away.stats = @stats[@away.id]
end
end
+ def full_name
+ "#{away.full_name} vs #{home.full_name}"
+ end
+
+ def name
+ "#{away.name} vs #{home.name}"
+ end
+
def sport_league
'NFL'.freeze
end
def current_score