class Fog::Compute::XenServer::PoolPatchs

Public Instance Methods

all(options={}) click to toggle source
# File lib/fog/xenserver/models/compute/pool_patchs.rb, line 10
def all(options={})
  data = service.get_records 'pool_patch'
  load(data)
end
get( pool_patch_ref ) click to toggle source
# File lib/fog/xenserver/models/compute/pool_patchs.rb, line 15
def get( pool_patch_ref )
  if pool_patch_ref && pool_patch = service.get_record( pool_patch_ref, 'pool_patch' )
    new(pool_patch)
  else
    nil
  end
end