class Fog::Libvirt::Compute::Volumes

Public Instance Methods

all(filter = {}) click to toggle source
# File lib/fog/libvirt/models/compute/volumes.rb, line 10
def all(filter = {})
  load(service.list_volumes(filter))
end
get(key) click to toggle source
# File lib/fog/libvirt/models/compute/volumes.rb, line 14
def get(key)
  self.all(:key => key).first
end