Sha256: 5c5eb2bbee4d53774d62eac2c93dcabfb021973924b7bca1a4529ad32544e06e

Contents?: true

Size: 719 Bytes

Versions: 32

Compression:

Stored size: 719 Bytes

Contents

module Fog
  module Compute
    class Linode
      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

32 entries across 32 versions & 8 rubygems

Version Path
brightbox-cli-0.15.0 lib/brightbox-cli/vendor/fog/lib/fog/linode/requests/compute/linode_delete.rb
tag-fog-1.0.1 lib/fog/linode/requests/compute/linode_delete.rb
brightbox-cli-0.14.1 lib/brightbox-cli/vendor/fog/lib/fog/linode/requests/compute/linode_delete.rb
brightbox-cli-0.14.0 lib/brightbox-cli/vendor/fog/lib/fog/linode/requests/compute/linode_delete.rb
fog-1.0.0 lib/fog/linode/requests/compute/linode_delete.rb
brightbox-cli-0.13.1 lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/linode/linode_delete.rb
brightbox-cli-0.13.0 lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/linode/linode_delete.rb
fog-0.11.0 lib/fog/compute/requests/linode/linode_delete.rb
fog-0.10.0 lib/fog/compute/requests/linode/linode_delete.rb
fog4encbs-0.9.0.1 lib/fog/compute/requests/linode/linode_delete.rb
fog4encbs-0.9.0 lib/fog/compute/requests/linode/linode_delete.rb
fog-0.9.0 lib/fog/compute/requests/linode/linode_delete.rb