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/create_domain.rb
2012-04-05 17:15:08 +03:00

17 lines
279 B
Ruby

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