1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/libvirt/requests/compute/define_domain.rb
2012-04-05 17:15:08 +03:00

17 lines
279 B
Ruby

module Fog
module Compute
class Libvirt
class Real
def define_domain(xml)
client.define_domain_xml(xml)
end
end
class Mock
def define_domain(xml)
::Libvirt::Domain.new()
end
end
end
end
end