Sha256: 6c253f887f54617923d3bcc23bcadc7420f4a8f7e1278ca9e62d5c4f212d9f51
Contents?: true
Size: 574 Bytes
Versions: 46
Compression:
Stored size: 574 Bytes
Contents
require 'fog/core/collection' require 'fog/xenserver/models/compute/host_patch' module Fog module Compute class XenServer class HostPatchs < Fog::Collection model Fog::Compute::XenServer::HostPatch def all(options={}) data = service.get_records 'host_patch' load(data) end def get( host_patch_ref ) if host_patch_ref && host_patch = service.get_record( host_patch_ref, 'host_patch' ) new(host_patch) else nil end end end end end end
Version data entries
46 entries across 46 versions & 6 rubygems