Sha256: 6e08ec60ac352f4a8e78e72ce12eea1f252b05fa5b483f46d028349f0d382c65
Contents?: true
Size: 431 Bytes
Versions: 3
Compression:
Stored size: 431 Bytes
Contents
module Fog module Libvirt class Compute module Shared def clone_volume(pool_name, xml, name) vol = client.lookup_storage_pool_by_name(pool_name).lookup_volume_by_name(name) client.lookup_storage_pool_by_name(pool_name).create_vol_xml_from(xml, vol) end end class Real include Shared end class Mock include Shared end end end end
Version data entries
3 entries across 3 versions & 1 rubygems