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/cloudstack/requests/compute/assign_virtual_machine.rb
2012-07-18 16:46:45 -07:00

18 lines
475 B
Ruby

module Fog
module Compute
class Cloudstack
class Real
def assign_virtual_machine(options={})
options.merge!('command' => 'assignVirtualMachine')
request(options)
end
end
class Mock
# Fog::Compute::Cloudstack::Error: Failed to move vm VM is Running, unable to move the vm VM[User|e845934a-e44f-43da-aabf-05c90c651756]
#def assign_virtual_machine(options={})
#end
end
end
end
end