lib/sportradar/api/basketball/nba/team.rb in sportradar-api-0.11.69 vs lib/sportradar/api/basketball/nba/team.rb in sportradar-api-0.12.0
- old
+ new
@@ -25,10 +25,10 @@
def player_class
Player
end
def api
- @api || Sportradar::Api::Basketball::Nba.new
+ @api || Sportradar::Api::Basketball::Nba::Api.new
end
def handle_names(data)
# need to do some more work here
@name = data['name'] if data['name']
\ No newline at end of file