class Fog::Compute::XenServer::GpuGroups

Public Instance Methods

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