Sha256: 350ee1821d3205171efc566ae87ba73b41f01ae8455f3f61b632abdd5599f650
Contents?: true
Size: 574 Bytes
Versions: 30
Compression:
Stored size: 574 Bytes
Contents
module Fog module NewServers class Real # Reboot a running server # # ==== Parameters # * serverId<~String> - The id of the server to reboot # def reboot_server(server_id) request( :expects => 200, :method => 'GET', :parser => Fog::ToHashDocument.new, :path => 'api/rebootServer', :query => {'serverId' => server_id} ) end end class Mock def reboot_server(server_id) Fog::Mock.not_implemented end end end end
Version data entries
30 entries across 30 versions & 2 rubygems