Sha256: 92dd685253f8695059ecaf126c6ccf3835fc6e7be0f6373a803dbaa4b819e89e
Contents?: true
Size: 752 Bytes
Versions: 7
Compression:
Stored size: 752 Bytes
Contents
unless Fog.mocking? module Fog module Rackspace class Servers # Update an existing server # # ==== Parameters # # server_id<~Integer> - Id of server to update # * options<~Hash>: # * name<~String> - New name for server # * adminPass<~String> - New admin password for server # def update_server(server_id, options = {}) request( :body => options.to_json, :expects => 204, :method => 'PUT', :path => "servers/#{id}" ) end end end end else module Fog module Rackspace class Servers def update_server end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems