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