lib/sportradar/api/baseball/player.rb in sportradar-api-0.10.44 vs lib/sportradar/api/baseball/player.rb in sportradar-api-0.10.45

- old
+ new

@@ -1,9 +1,9 @@ module Sportradar module Api module Baseball class Player < Data - attr_accessor :response, :id, :number, :full_name, :first_name, :last_name, :position, :primary_position, :birth_place, :college, :height, :weight, :draft, :hitting, :pitching, :fielding + attr_accessor :response, :id, :number, :full_name, :first_name, :last_name, :position, :primary_position, :birth_place, :college, :height, :weight, :draft, :hitting, :pitching, :fielding, :team def initialize(data, **opts) @response = data # comment this out when done developing @api = opts[:api] @team = opts[:team]