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