# File lib/fog/openstack/requests/identity/get_ec2_credential.rb, line 36 def get_ec2_credential(user_id, access) ec2_credential = self.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