Sha256: 963a7ea519e64b02c91723ee96814e5f81a9ef7ec5e3893ff73872ca67830002

Contents?: true

Size: 406 Bytes

Versions: 14

Compression:

Stored size: 406 Bytes

Contents

module Fog
  module Compute
    class RackspaceV2
      class Real
        def revert_resize_server(server_id)
          data = {
            'revertResize' => nil
          }

          request(
            :body => Fog::JSON.encode(data),
            :expects => [202],
            :method => 'POST',
            :path => "servers/#{server_id}/action"
          )
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 7 rubygems

Version Path
fog-nirvanix-1.8.2 lib/fog/rackspace/requests/compute_v2/revert_resize_server.rb
fog-nirvanix-1.8.1 lib/fog/rackspace/requests/compute_v2/revert_resize_server.rb
fog-parser-fix-1.6.1 lib/fog/rackspace/requests/compute_v2/revert_resize_server.rb
fog-test-again-1.6.0 lib/fog/rackspace/requests/compute_v2/revert_resize_server.rb
fog-parser-fix-1.6.0 lib/fog/rackspace/requests/compute_v2/revert_resize_server.rb
fog-maestrodev-1.8.0.20130114204828 lib/fog/rackspace/requests/compute_v2/revert_resize_server.rb
fog-maestrodev-1.8.0.20130111070250 lib/fog/rackspace/requests/compute_v2/revert_resize_server.rb
fog-maestrodev-1.8.0.20130109172219 lib/fog/rackspace/requests/compute_v2/revert_resize_server.rb
ey-vendored-backup-3.0.27 vendor/gems/fog/lib/fog/rackspace/requests/compute_v2/revert_resize_server.rb
fog-sgonyea-1.8.1 lib/fog/rackspace/requests/compute_v2/revert_resize_server.rb
fog-1.8.0 lib/fog/rackspace/requests/compute_v2/revert_resize_server.rb
fog-maestrodev-1.7.0.20121114190951 lib/fog/rackspace/requests/compute_v2/revert_resize_server.rb
fog-1.7.0 lib/fog/rackspace/requests/compute_v2/revert_resize_server.rb
fog-1.6.0 lib/fog/rackspace/requests/compute_v2/revert_resize_server.rb