Methods

Class/Module Index [+]

Quicksearch

Fog::Compute::XenServer::Pbds

Public Class Methods

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

Public Instance Methods

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

[Validate]

Generated with the Darkfish Rdoc Generator 2.