lib/sportradar/api/mma/venue.rb in sportradar-api-0.10.55 vs lib/sportradar/api/mma/venue.rb in sportradar-api-0.11.0
- old
+ new
@@ -1,9 +1,9 @@
module Sportradar
module Api
class Mma
class Venue < Data
- attr_accessor :response, :id, :event, :name, :country_code, :country, :state, :city
+ attr_accessor :response, :id, :name, :address, :city, :state, :country, :zip, :capacity, :timezone
@all_hash = {}
def self.new(data, **opts)
existing = @all_hash[data['name']]
if existing
existing.update(data)