# File lib/fog/identity/openstack/v2/requests/get_ec2_credential.rb, line 36 def get_ec2_credential(user_id, access) ec2_credential = data[:ec2_credentials][user_id][access] raise Fog::OpenStack::Identity::NotFound unless ec2_credential response = Excon::Response.new response.status = 200 response.body = {'credential' => ec2_credential} response end