Sha256: c3631a8c33c8cbeb313098cb8f5bd207edbb97059b3769b25bace22b4a01505b

Contents?: true

Size: 512 Bytes

Versions: 1

Compression:

Stored size: 512 Bytes

Contents

module Fog
  module Compute
    class Brightbox
      class Real

        def activate_console_server(identifier, options = {})
          return nil if identifier.nil? || identifier == ""
          request(
            :expects  => [202],
            :method   => 'POST',
            :path     => "/1.0/servers/#{identifier}/activate_console",
            :headers  => {"Content-Type" => "application/json"},
            :body     => MultiJson.encode(options)
          )
        end

      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fog-0.10.0 lib/fog/compute/requests/brightbox/activate_console_server.rb