# File lib/fog/profitbricks/requests/compute/update_snapshot.rb, line 67 def update_snapshot(snapshot_id, options = {}) if snapshot = data[:snapshots]['items'].find do |snpsht| snpsht["id"] == snapshot_id end options.each do |key, value| snapshot[key] = value end else raise Fog::Errors::NotFound, 'The requested resource could not be found' end response = Excon::Response.new response.status = 202 response.body = snapshot response end