Sha256: 1814054ec669e6905fd081075c06c3409e6f9ea0b7e6fe326e16cdd6ea71d44b
Contents?: true
Size: 588 Bytes
Versions: 10
Compression:
Stored size: 588 Bytes
Contents
module Fog module Vsphere class Compute class Folders < Fog::Collection autoload :Folder, File.expand_path('../folder', __FILE__) model Fog::Vsphere::Compute::Folder attr_accessor :datacenter, :type, :path def all(filters = {}) requires :datacenter requires :type load service.list_folders(filters.merge(datacenter: datacenter, type: type, path: path)) end def get(id) requires :datacenter new service.get_folder(id, datacenter, type) end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems