Sha256: ea7565c3915fb12b3551ffddc19addde08cc1e164bfd6a267a860c56b9df7630
Contents?: true
Size: 583 Bytes
Versions: 25
Compression:
Stored size: 583 Bytes
Contents
require 'fog/core/collection' require 'fog/xenserver/models/compute/pif' module Fog module Compute class XenServer class Pifs < Fog::Collection model Fog::Compute::XenServer::PIF def initialize(attributes) super end def all(options = {}) data = service.get_records 'PIF' load(data) end def get( ref ) if ref && obj = service.get_record( ref, 'PIF' ) new(obj) end rescue Fog::XenServer::NotFound nil end end end end end
Version data entries
25 entries across 25 versions & 4 rubygems