Sha256: ba19ad802cdd3b02c294242be28586a5fd3a41375068cf681c881929c76a1f7e
Contents?: true
Size: 606 Bytes
Versions: 28
Compression:
Stored size: 606 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
28 entries across 28 versions & 4 rubygems