Sha256: 0e52497a624cfc370b859f30f5e648789824fe6ee371081b6d091c731dfee61b

Contents?: true

Size: 537 Bytes

Versions: 15

Compression:

Stored size: 537 Bytes

Contents

unless Fog.mocking?

  module Fog
    module Rackspace
      class Servers

        # Delete an existing server
        #
        # ==== Parameters
        # * id<~Integer> - Id of server to delete
        #
        def delete_server(id)
          request(
            :expects => 202,
            :method => 'DELETE',
            :path   => "servers/#{id}"
          )
        end

      end
    end
  end

else

  module Fog
    module Rackspace
      class Servers

        def delete_server
        end

      end
    end
  end

end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
fog-0.0.29 lib/fog/rackspace/requests/servers/delete_server.rb
fog-0.0.28 lib/fog/rackspace/requests/servers/delete_server.rb
fog-0.0.27 lib/fog/rackspace/requests/servers/delete_server.rb
fog-0.0.26 lib/fog/rackspace/requests/servers/delete_server.rb
fog-0.0.25 lib/fog/rackspace/requests/servers/delete_server.rb
fog-0.0.24 lib/fog/rackspace/requests/servers/delete_server.rb
fog-0.0.23 lib/fog/rackspace/requests/servers/delete_server.rb
fog-0.0.22 lib/fog/rackspace/requests/servers/delete_server.rb
fog-0.0.21 lib/fog/rackspace/requests/servers/delete_server.rb
fog-0.0.20 lib/fog/rackspace/requests/servers/delete_server.rb
fog-0.0.19 lib/fog/rackspace/requests/servers/delete_server.rb
fog-0.0.18 lib/fog/rackspace/requests/servers/delete_server.rb
fog-0.0.17 lib/fog/rackspace/requests/servers/delete_server.rb
fog-0.0.16 lib/fog/rackspace/requests/servers/delete_server.rb
fog-0.0.15 lib/fog/rackspace/requests/servers/delete_server.rb