lib/sportradar/api/football/situation.rb in sportradar-api-0.11.23 vs lib/sportradar/api/football/situation.rb in sportradar-api-0.11.24
- old
+ new
@@ -20,11 +20,15 @@
def spot
[location&.alias, location&.yardline].compact.join(' ')
end
+ def distance
+ @yfd
+ end
+
def down_distance
- [@down, @distance].compact.join(' & ')
+ [@down, distance].compact.join(' & ')
end
end
end
end