Methods

Class/Module Index [+]

Quicksearch

Fog::Compute::XenServer::Pools

Public Class Methods

new(attributes) click to toggle source
# File lib/fog/xenserver/models/compute/pools.rb, line 12
def initialize(attributes)
  super
end

Public Instance Methods

all(options = {}) click to toggle source
# File lib/fog/xenserver/models/compute/pools.rb, line 16
def all(options = {})
  data = service.get_records 'pool'
  load(data)
end
get( pool_ref ) click to toggle source
# File lib/fog/xenserver/models/compute/pools.rb, line 21
def get( pool_ref )
  if pool_ref && pool = service.get_record( pool_ref, 'pool' )
    new(pool)
  else
    nil
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.