Sha256: db6d7db024c34ba6a500e3f416f766b3d442dc3071548c73772382a2e98b9514
Contents?: true
Size: 410 Bytes
Versions: 14
Compression:
Stored size: 410 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(connection.list_interfaces(filter)) end def get(name) self.all(:name => name).first end end end end end
Version data entries
14 entries across 14 versions & 8 rubygems