lib/sportradar/api/basketball/nba/player.rb in sportradar-api-0.14.0 vs lib/sportradar/api/basketball/nba/player.rb in sportradar-api-0.15.0
- old
+ new
@@ -1,10 +1,10 @@
module Sportradar
module Api
module Basketball
class Nba
class Player < Data
- attr_accessor :response, :id, :number, :full_name, :first_name, :last_name, :position, :birth_place, :college, :height, :weight, :averages, :totals, :draft, :stats
+ attr_accessor :response, :id, :number, :full_name, :first_name, :last_name, :position, :birth_place, :college, :height, :weight, :averages, :totals, :draft, :stats, :team
# @all_hash = {}
# def self.new(data, **opts)
# existing = @all_hash[data['id']]
# if existing
# existing.update(data, **opts)