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/clodo/requests/compute/reboot_server.rb
2011-11-08 15:01:58 +04:00

19 lines
349 B
Ruby

module Fog
module Compute
class Clodo
class Real
def reboot_server(id, type)
body = {'reboot' => {}}
server_action(id, body)
end
end
class Mock
def reboot_server(id, type)
body = {'reboot' => {}}
server_action(id, body)
end
end
end
end
end