Sha256: 0457e4b692b8fa6131e5d26b1a889f39e297545b0cc17144d3e388c8cec11461
Contents?: true
Size: 515 Bytes
Versions: 10
Compression:
Stored size: 515 Bytes
Contents
module Fog module Vsphere class Compute class Customfields < Fog::Collection autoload :Customfield, File.expand_path('../customfield', __FILE__) model Fog::Vsphere::Compute::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
10 entries across 10 versions & 1 rubygems