Class: Fog::Compute::Ecloud::ComputePools
- Inherits:
-
Ecloud::Collection
- Object
- Fog::Collection
- Ecloud::Collection
- Fog::Compute::Ecloud::ComputePools
- Defined in:
- lib/fog/ecloud/models/compute/compute_pools.rb
Instance Method Summary collapse
Methods inherited from Ecloud::Collection
Instance Method Details
#all ⇒ Object
13 14 15 16 17 |
# File 'lib/fog/ecloud/models/compute/compute_pools.rb', line 13 def all check_href!(:message => "the Compute Pool href of the Environment you want to enumerate") data = service.get_compute_pools(href).body[:ComputePool] load(data) end |
#from_data(data) ⇒ Object
27 28 29 |
# File 'lib/fog/ecloud/models/compute/compute_pools.rb', line 27 def from_data(data) new(data) end |