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