class Fog::Network::StormOnDemand::Pool

Public Class Methods

new(attributes={}) click to toggle source
Calls superclass method Fog::Model::new
# File lib/fog/storm_on_demand/models/network/pool.rb, line 14
def initialize(attributes={})
  super
end

Public Instance Methods

destroy() click to toggle source
# File lib/fog/storm_on_demand/models/network/pool.rb, line 18
def destroy
  requires :identity
  service.delete_pool(:uniq_id => identity)
  true
end
update(options={}) click to toggle source
# File lib/fog/storm_on_demand/models/network/pool.rb, line 24
def update(options={})
  requires :identity
  service.update_pool({:uniq_id => identity}.merge!(options))
end