Sha256: ea5fcfa8ae852aeb67d0cd3e14e29b339d608ac1aecaabf411bf208c55f87cf5
Contents?: true
Size: 515 Bytes
Versions: 7
Compression:
Stored size: 515 Bytes
Contents
module Fog module Compute class Vsphere class Customfields < Fog::Collection autoload :Customfield, File.expand_path('../customfield', __FILE__) model Fog::Compute::Vsphere::Customfield attr_accessor :vm def all(_filters = {}) load service.list_customfields end def get(key) load(service.list_customfields).find do |cv| cv.key == (key.is_a? String ? key.to_i : key) end end end end end end
Version data entries
7 entries across 5 versions & 2 rubygems