Sha256: 5ccd08f516838107a078899dc92e0872aa1e96c33780ce5a88ac1c13734b55df
Contents?: true
Size: 508 Bytes
Versions: 15
Compression:
Stored size: 508 Bytes
Contents
module Fog module Compute class Ovirt class V3 class Real def list_vm_volumes(vm_id) client.vm_volumes(vm_id).map { |ovirt_obj| ovirt_attrs ovirt_obj } end end class Mock def list_vm_volumes(_vm_id) xml = read_xml "volumes.xml" Nokogiri::XML(xml).xpath("/disks/disk").map do |vol| ovirt_attrs OVIRT::Volume.new(self, vol) end end end end end end end
Version data entries
15 entries across 13 versions & 2 rubygems