lib/sportradar/api/basketball/ncaamb/tournament.rb in sportradar-api-0.10.4 vs lib/sportradar/api/basketball/ncaamb/tournament.rb in sportradar-api-0.10.5

- old
+ new

@@ -4,11 +4,11 @@ class Ncaamb class Tournament < Data attr_accessor :response, :id, :name, :status, :location, :start, :end def initialize(data, **opts) - @response = data + # @response = data @api = opts[:api] @id = data['id'] @rounds_hash = {} @@ -16,10 +16,9 @@ update(data, **opts) end def update(data, **opts) - @response = data @season = opts[:season] if opts[:season] @status = data['status'] if data['status'] @name = data['name'] if data['name']