Sha256: 6bf211f78a3e4c52fde43e2d561e052a0b94b43f3ea1fe3fd8a8a275607b09b9
Contents?: true
Size: 432 Bytes
Versions: 14
Compression:
Stored size: 432 Bytes
Contents
module Fog module Compute class RackspaceV2 class Real def update_server(server_id, name) data = { 'server' => { 'name' => name } } request( :body => Fog::JSON.encode(data), :expects => [200], :method => 'PUT', :path => "servers/#{server_id}" ) end end end end end
Version data entries
14 entries across 14 versions & 7 rubygems