Sha256: 2f68f92647db73b2722c6e0213667ebd2b953119375fedd74d2ea5e0006eac2d
Contents?: true
Size: 609 Bytes
Versions: 65
Compression:
Stored size: 609 Bytes
Contents
require 'fog/core/collection' require 'fog/vsphere/models/compute/folder' module Fog module Compute class Vsphere class Folders < Fog::Collection model Fog::Compute::Vsphere::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
65 entries across 65 versions & 6 rubygems