lib/sportradar/api/basketball/play.rb in sportradar-api-0.13.9 vs lib/sportradar/api/basketball/play.rb in sportradar-api-0.13.10

- old
+ new

@@ -14,10 +14,10 @@ # klass = subclass(data['event_type']) # @all_hash[data['id']] = klass.new(data, **opts) rescue (puts data['event_type']; binding.pry) # end # end def self.new(data, **opts) - klass = subclass(data['event_type']) + klass = subclass(data['event_type']) || Base klass.new(data, **opts) # rescue => e # binding.pry end # def self.all