Sha256: 41b49d48f32d46b8040aea847ab65ea3feec8f5f8e8e5e839643636a01e359ba
Contents?: true
Size: 397 Bytes
Versions: 14
Compression:
Stored size: 397 Bytes
Contents
require 'fog/core/collection' require 'fog/libvirt/models/compute/volume' module Fog module Compute class Libvirt class Volumes < Fog::Collection model Fog::Compute::Libvirt::Volume def all(filter = {}) load(connection.list_volumes(filter)) end def get(key) self.all(:key => key).first end end end end end
Version data entries
14 entries across 14 versions & 8 rubygems