Sha256: ce66717c60a5cfba4eba73bbe5048ad95f40ae1f19e67c9314fe6bba749bf9fa
Contents?: true
Size: 440 Bytes
Versions: 14
Compression:
Stored size: 440 Bytes
Contents
module Fog module Compute class RackspaceV2 class Real def reboot_server(server_id, type) data = { 'reboot' => { 'type' => type } } request( :body => Fog::JSON.encode(data), :expects => [202], :method => 'POST', :path => "servers/#{server_id}/action" ) end end end end end
Version data entries
14 entries across 14 versions & 7 rubygems