Sha256: f759fc66ea5caf767272259abd9b68c7952d8f997feebaa02259b0d6f99a1d3d
Contents?: true
Size: 529 Bytes
Versions: 12
Compression:
Stored size: 529 Bytes
Contents
module Fog module Brightbox class Compute class Real def update_server(identifier, options = {}) return nil if identifier.nil? || identifier == "" return nil if options.empty? || options.nil? request( :expects => [200], :method => 'PUT', :path => "/1.0/servers/#{identifier}", :headers => {"Content-Type" => "application/json"}, :body => options.to_json ) end end end end end
Version data entries
12 entries across 12 versions & 2 rubygems