Methods

Class/Module Index [+]

Quicksearch

Fog::Compute::XenServer::Pifs

Public Class Methods

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

Public Instance Methods

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

[Validate]

Generated with the Darkfish Rdoc Generator 2.