# File lib/fog/profitbricks/requests/compute/delete_image.rb, line 25 def delete_image(image_id) response = Excon::Response.new response.status = 202 if img = data[:images]["items"].find do |image| image["id"] == image_id end else raise Fog::Errors::NotFound, "The requested resource could not be found" end response end