lib/sportradar/api/basketball/nba/quarter.rb in sportradar-api-0.9.59 vs lib/sportradar/api/basketball/nba/quarter.rb in sportradar-api-0.10.0
- old
+ new
@@ -30,10 +30,10 @@
@plays_hash = {}
update(data)
end
def update(data, **opts)
- create_data(@plays_hash, data.dig('events', 'event'), klass: Play, api: @api, quarter: self)
+ create_data(@plays_hash, data.dig('events'), klass: Play, api: @api, quarter: self)
# rescue => e
# binding.pry
end
def plays