class Fog::Compute::Vsphere::Folders
Attributes
datacenter[RW]
path[RW]
type[RW]
Public Instance Methods
all(filters = { })
click to toggle source
# File lib/fog/vsphere/models/compute/folders.rb, line 10 def all(filters = { }) requires :datacenter requires :type load service.list_folders(filters.merge(:datacenter => datacenter, :type => type, :path => path)) end
get(id)
click to toggle source
# File lib/fog/vsphere/models/compute/folders.rb, line 16 def get(id) requires :datacenter new service.get_folder(id, datacenter, type) end