Class: Fog::Compute::OpenStack::KeyPairs
- Inherits:
-
Fog::Collection
- Object
- Fog::Collection
- Fog::Compute::OpenStack::KeyPairs
- Defined in:
- lib/fog/openstack/models/compute/key_pairs.rb
Instance Method Summary collapse
Instance Method Details
#all ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/fog/openstack/models/compute/key_pairs.rb', line 10 def all items = Array.new service.list_key_pairs.body['keypairs'].each do |kp| items = items + kp.values end load(items) end |