Class: Fog::Network::StormOnDemand::Pools
- Inherits:
-
Collection
- Object
- Collection
- Fog::Network::StormOnDemand::Pools
- Defined in:
- lib/fog/storm_on_demand/models/network/pools.rb
Instance Method Summary collapse
Instance Method Details
#create(options) ⇒ Object
10 11 12 13 |
# File 'lib/fog/storm_on_demand/models/network/pools.rb', line 10 def create() p = service.create_pool().body new(p) end |
#get(uniq_id) ⇒ Object
15 16 17 18 |
# File 'lib/fog/storm_on_demand/models/network/pools.rb', line 15 def get(uniq_id) p = service.get_pool(:uniq_id => uniq_id).body new(p) end |
#get_assignments(options = {}) ⇒ Object
20 21 22 |
# File 'lib/fog/storm_on_demand/models/network/pools.rb', line 20 def get_assignments(={}) service.get_assignments().body['items'] end |