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