Sha256: dd18615320f9ad64b17ebc02348b70939cd9b3589ec5de2a8d412ca8174d47c9

Contents?: true

Size: 719 Bytes

Versions: 8

Compression:

Stored size: 719 Bytes

Contents

module Fog
  module Linode
    class Compute
      class Real

        # List all linodes user has access or delete to
        #
        # ==== Parameters
        # * linode_id<~Integer>: id of linode to delete
        # * options<~Hash>:
        #   * skipChecks<~Boolean>: skips safety checks and always deletes
        #
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Array>:
        # TODO: docs
        def linode_delete(linode_id, options={})
          request(
            :expects  => 200,
            :method   => 'GET',
            :query    => { :api_action => 'linode.delete', :linodeId => linode_id }.merge!(options)
          )
        end

      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
fog-0.8.1 lib/fog/compute/requests/linode/linode_delete.rb
fog-0.8.0 lib/fog/compute/requests/linode/linode_delete.rb
fog-0.7.2 lib/fog/compute/requests/linode/linode_delete.rb
fog-0.7.1 lib/fog/compute/requests/linode/linode_delete.rb
fog-0.7.0 lib/fog/compute/requests/linode/linode_delete.rb
fog-0.6.0 lib/fog/compute/requests/linode/linode_delete.rb
fog-0.5.3 lib/fog/compute/requests/linode/linode_delete.rb
fog-0.5.2 lib/fog/compute/requests/linode/linode_delete.rb