Sha256: f240a2706d731e5ec9efc0cc30d15a082a849c9b671244c5ebc1f4609044995b
Contents?: true
Size: 505 Bytes
Versions: 9
Compression:
Stored size: 505 Bytes
Contents
module Fog module Ovirt class Compute class V4 class Real def list_volumes client.system_service.disks_service.list.map { |ovirt_obj| ovirt_attrs ovirt_obj } end end class Mock def list_volumes xml = read_xml "disks.xml" Nokogiri::XML(xml).xpath("/disks/disk").map do |vol| ovirt_attrs OvirtSDK4::Reader.read(vol.to_s) end end end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems