class Fog::Network::StormOnDemand::Pools

Public Instance Methods

create(options) click to toggle source
# File lib/fog/storm_on_demand/models/network/pools.rb, line 11
def create(options)
  p = service.create_pool(options).body
  new(p)
end
get(uniq_id) click to toggle source
# File lib/fog/storm_on_demand/models/network/pools.rb, line 16
def get(uniq_id)
  p = service.get_pool(:uniq_id => uniq_id).body
  new(p)
end
get_assignments(options={}) click to toggle source
# File lib/fog/storm_on_demand/models/network/pools.rb, line 21
def get_assignments(options={})
  service.get_assignments(options).body['items']
end