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