class Fog::Identity::Proxmox::Pools
class Pools Collection of pools of VMs
Public Instance Methods
all()
click to toggle source
# File lib/fog/identity/proxmox/models/pools.rb, line 28 def all load service.list_pools end
destroy(id)
click to toggle source
# File lib/fog/identity/proxmox/models/pools.rb, line 36 def destroy(id) pool = get(id) pool.destroy end
get(id)
click to toggle source
# File lib/fog/identity/proxmox/models/pools.rb, line 32 def get(id) all.find { |pool| pool.identity === id } end