Sha256: 8f47bba30bbb311734ff62d59e07a4a969a12cd6ed627a0e5591edc59bb2ac08

Contents?: true

Size: 399 Bytes

Versions: 1

Compression:

Stored size: 399 Bytes

Contents

module Fog
  module Compute
    class Brightbox
      class Real

        def create_server(options = {})
          request(
            :expects  => [202],
            :method   => 'POST',
            :path     => "/1.0/servers",
            :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/create_server.rb