lib/sportradar/api/football/quarter.rb in sportradar-api-0.11.35 vs lib/sportradar/api/football/quarter.rb in sportradar-api-0.11.36
- old
+ new
@@ -21,10 +21,10 @@
@away_points = data["away_points"]
@home_info = data["home"]
@away_info = data["away"]
- create_data(@drives_hash, data['pbp'], klass: drive_class, api: api, quarter: self) if data['pbp']
+ opts[:game].update_drives(data['pbp']) if data['pbp']
self
end
def overtime?