Class: Fog::Network::StormOnDemand::Pool
- Inherits:
-
Model
- Object
- Model
- Fog::Network::StormOnDemand::Pool
- Defined in:
- lib/fog/storm_on_demand/models/network/pool.rb
Instance Method Summary collapse
- #destroy ⇒ Object
-
#initialize(attributes = {}) ⇒ Pool
constructor
A new instance of Pool.
- #update(options = {}) ⇒ Object
Constructor Details
#initialize(attributes = {}) ⇒ Pool
Returns a new instance of Pool.
13 14 15 |
# File 'lib/fog/storm_on_demand/models/network/pool.rb', line 13 def initialize(attributes={}) super end |
Instance Method Details
#destroy ⇒ Object
17 18 19 20 21 |
# File 'lib/fog/storm_on_demand/models/network/pool.rb', line 17 def destroy requires :identity service.delete_pool(:uniq_id => identity) true end |
#update(options = {}) ⇒ Object
23 24 25 26 |
# File 'lib/fog/storm_on_demand/models/network/pool.rb', line 23 def update(={}) requires :identity service.update_pool({:uniq_id => identity}.merge!()) end |