lib/sportradar/api/basketball/play.rb in sportradar-api-0.9.25 vs lib/sportradar/api/basketball/play.rb in sportradar-api-0.9.26

- old
+ new

@@ -15,10 +15,10 @@ # @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.new(data, **opts) rescue (puts data['event_type']; binding.pry) + klass.new(data, **opts) rescue nil end # def self.all # @all_hash.values # end