Class: Fog::Compute::HPV2::KeyPairs
- Inherits:
-
Fog::Collection
- Object
- Fog::Collection
- Fog::Compute::HPV2::KeyPairs
- Defined in:
- lib/fog/hp/models/compute_v2/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_v2/key_pairs.rb', line 10 def all items = [] service.list_key_pairs.body['keypairs'].each do |kp| items = items + kp.map { |_, value| value } end load(items) end |