lib/sportradar/api/basketball/nba/conference.rb in sportradar-api-0.9.59 vs lib/sportradar/api/basketball/nba/conference.rb in sportradar-api-0.10.0

- old
+ new

@@ -10,10 +10,10 @@ @api = opts[:api] @id = data["id"] @name = data["name"] @alias = data["alias"] - @divisions_hash = create_data({}, response["division"], klass: Division, conference: self, api: @api) # if response["division"] + @divisions_hash = create_data({}, data["divisions"], klass: Division, conference: self, api: @api) # if response["division"] end def divisions @divisions_hash.values end