# File lib/fog/profitbricks/requests/compute/get_share.rb, line 36 def get_share(group_id, resource_id) if share = data[:shares]['items'].find do |shr| shr["id"] == resource_id end else raise Excon::Error::HTTPStatus, "Resource does not exist" end response = Excon::Response.new response.status = 200 response.body = share response end