Sha256: d56ebb0f839730f222b19cbcd651ca45bb74ecef544d0f21eec1ee603bc09698
Contents?: true
Size: 403 Bytes
Versions: 30
Compression:
Stored size: 403 Bytes
Contents
require 'fog/core/collection' require 'fog/libvirt/models/compute/interface' module Fog module Compute class Libvirt class Interfaces < Fog::Collection model Fog::Compute::Libvirt::Interface def all(filter={}) load(service.list_interfaces(filter)) end def get(name) self.all(:name => name).first end end end end end
Version data entries
30 entries across 30 versions & 5 rubygems