Sha256: efc0f13b5899870729a047656de2e784b894006dca89112b2609fa2b9187bf75
Contents?: true
Size: 659 Bytes
Versions: 26
Compression:
Stored size: 659 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 class Mock def update_server(identifier, options = {}) Fog::Mock.not_implemented end end end end end
Version data entries
26 entries across 26 versions & 3 rubygems