# File lib/fog/profitbricks/requests/compute/get_image.rb, line 53 def get_image(image_id) if img = data[:images]["items"].find do |image| image["id"] == image_id end else raise Excon::Error::HTTPStatus, "Resource does not exist" end response = Excon::Response.new response.status = 200 response.body = img response end