Method: Fog::Identity::OpenStack::Ec2Credentials#all

Defined in:
lib/fog/openstack/models/identity/ec2_credentials.rb

#allObject



12
13
14
15
16
17
18
# File 'lib/fog/openstack/models/identity/ec2_credentials.rb', line 12

def all
  user_id = user ? user.id : nil

  ec2_credentials = service.list_ec2_credentials(user_id)

  load(ec2_credentials.body['credentials'])
end