Sha256: 2fad3992d116f38d6259937182c18c29f03aa06de617448fed00f1a937cea68a
Contents?: true
Size: 505 Bytes
Versions: 13
Compression:
Stored size: 505 Bytes
Contents
module Fog module Compute class Ovirt 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
13 entries across 11 versions & 2 rubygems