lib/sportradar/api/basketball/nba/team.rb in sportradar-api-0.9.30 vs lib/sportradar/api/basketball/nba/team.rb in sportradar-api-0.9.31

- old
+ new

@@ -63,11 +63,17 @@ # need to do some more work here @name = data['name'] if data['name'] if data['name'] && !data.key?('market') @full_name = data['name'] if @full_name.split.size > 1 - @market = @full_name.split[0..-2].join(' ') - @name = @full_name.split.last + if @full_name.include? 'Blazers' + @market = 'Portland' + @name = 'Trail Blazers' + @full_name = 'Portland Trail Blazers' + else + @market = @full_name.split[0..-2].join(' ') + @name = @full_name.split.last + end end elsif data['name'] && data['market'] @market = data['market'] @full_name = [@market, data['name']].join(' ') end \ No newline at end of file