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/compute/requests/ninefold/stop_virtual_machine.rb
2011-06-04 20:02:12 +10:00

23 lines
432 B
Ruby

module Fog
module Ninefold
class Compute
class Real
def stop_virtual_machine(options = {})
request('stopVirtualMachine', options, :expects => [200],
:response_prefix => 'stopvirtualmachineresponse', :response_type => Hash)
end
end
class Mock
def stop_virtual_machine(*args)
Fog::Mock.not_implemented
end
end
end
end
end