lib/sportradar/api/baseball/mlb/hierarchy.rb in sportradar-api-0.10.15 vs lib/sportradar/api/baseball/mlb/hierarchy.rb in sportradar-api-0.10.16
- old
+ new
@@ -45,9 +45,14 @@
def standings
get_standings if teams.first&.record.nil?
self
end
+ def hierarchy
+ get_hierarchy if divisions.empty?
+ self
+ end
+
def daily_schedule
# TODO
end
def games