Sha256: 65279bcc7b711fc684be2da2d24a41775a2975e3530c1fee9a2c7c405da959b8
Contents?: true
Size: 496 Bytes
Versions: 80
Compression:
Stored size: 496 Bytes
Contents
module Fog module Compute class Ovirt class Real def list_template_volumes(template_id) client.template_volumes(template_id).map {|ovirt_obj| ovirt_attrs ovirt_obj} end end class Mock def list_template_volumes(template_id) xml = read_xml 'volumes.xml' Nokogiri::XML(xml).xpath('/disks/disk').collect do |vol| ovirt_attrs OVIRT::Volume::new(self, vol) end end end end end end
Version data entries
80 entries across 80 versions & 13 rubygems