Sha256: c557e422911834e250ecd33188277616d356e519acab771c272e80b7ded1c588

Contents?: true

Size: 432 Bytes

Versions: 29

Compression:

Stored size: 432 Bytes

Contents

module Fog
  module Compute
    class Brightbox
      class Real

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

      end
    end
  end
end

Version data entries

29 entries across 29 versions & 7 rubygems

Version Path
brightbox-cli-0.18.1 lib/brightbox-cli/vendor/fog/lib/fog/brightbox/requests/compute/resize_server.rb
michiels-fog-1.3.1 lib/fog/brightbox/requests/compute/resize_server.rb
ftl-0.2.0 vendor/bundle/gems/fog-1.3.1/lib/fog/brightbox/requests/compute/resize_server.rb
brightbox-cli-0.18.0 lib/brightbox-cli/vendor/fog/lib/fog/brightbox/requests/compute/resize_server.rb
fog-1.3.1 lib/fog/brightbox/requests/compute/resize_server.rb
fog-1.3.0 lib/fog/brightbox/requests/compute/resize_server.rb
brightbox-cli-0.17.5 lib/brightbox-cli/vendor/fog/lib/fog/brightbox/requests/compute/resize_server.rb
fog-1.2.0 lib/fog/brightbox/requests/compute/resize_server.rb
ktheory-fog-1.1.2 lib/fog/brightbox/requests/compute/resize_server.rb
brightbox-cli-0.17.4 lib/brightbox-cli/vendor/fog/lib/fog/brightbox/requests/compute/resize_server.rb
brightbox-cli-0.17.3 lib/brightbox-cli/vendor/fog/lib/fog/brightbox/requests/compute/resize_server.rb
brightbox-cli-0.17.2 lib/brightbox-cli/vendor/fog/lib/fog/brightbox/requests/compute/resize_server.rb
brightbox-cli-0.17.1 lib/brightbox-cli/vendor/fog/lib/fog/brightbox/requests/compute/resize_server.rb
brightbox-cli-0.17.0 lib/brightbox-cli/vendor/fog/lib/fog/brightbox/requests/compute/resize_server.rb
fog-1.1.2 lib/fog/brightbox/requests/compute/resize_server.rb
fog_tractical-1.1.4 lib/fog/brightbox/requests/compute/resize_server.rb
fog_tractical-1.1.3 lib/fog/brightbox/requests/compute/resize_server.rb
brightbox-cli-0.16.0 lib/brightbox-cli/vendor/fog/lib/fog/brightbox/requests/compute/resize_server.rb
fog-1.1.1 lib/fog/brightbox/requests/compute/resize_server.rb
fog-1.1.0 lib/fog/brightbox/requests/compute/resize_server.rb