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