Sha256: f9394ca448cb306a0e97850ddb5e0a3fe1c717fad42528d56e4b4c0d70151dad
Contents?: true
Size: 466 Bytes
Versions: 9
Compression:
Stored size: 466 Bytes
Contents
module Fog module Ovirt class Compute class V4 class Real def get_virtual_machine(id) ovirt_attrs client.system_service.vms_service.vm_service(id).get(:all_content => true) end end class Mock def get_virtual_machine(_id) xml = read_xml "vm.xml" ovirt_attrs OvirtSDK4::Reader.read(Nokogiri::XML(xml).root.to_s) end end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems