# File lib/fog/profitbricks/requests/compute/delete_snapshot.rb, line 24 def delete_snapshot(snapshot_id) response = Excon::Response.new response.status = 202 if snapshot = data[:snapshots]['items'].find do |attrib| attrib['id'] == snapshot_id end else raise Fog::Errors::NotFound, 'The requested resource could not be found' end response end