class Fog::Vsphere::Compute::Customfields
Attributes
Public Instance Methods
Source
# File lib/fog/vsphere/models/compute/customfields.rb, line 9 def all(_filters = {}) load service.list_customfields end
Source
# File lib/fog/vsphere/models/compute/customfields.rb, line 13 def get(key) load(service.list_customfields).find do |cv| cv.key == (key.is_a? String ? key.to_i : key) end end