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.18.1 lib/brightbox-cli/vendor/fog/lib/fog/linode/requests/compute/linode_delete.rb
michiels-fog-1.3.1 lib/fog/linode/requests/compute/linode_delete.rb
ftl-0.2.0 vendor/bundle/gems/fog-1.3.1/lib/fog/linode/requests/compute/linode_delete.rb
brightbox-cli-0.18.0 lib/brightbox-cli/vendor/fog/lib/fog/linode/requests/compute/linode_delete.rb
fog-1.3.1 lib/fog/linode/requests/compute/linode_delete.rb
fog-1.3.0 lib/fog/linode/requests/compute/linode_delete.rb
brightbox-cli-0.17.5 lib/brightbox-cli/vendor/fog/lib/fog/linode/requests/compute/linode_delete.rb
fog-1.2.0 lib/fog/linode/requests/compute/linode_delete.rb
ktheory-fog-1.1.2 lib/fog/linode/requests/compute/linode_delete.rb
brightbox-cli-0.17.4 lib/brightbox-cli/vendor/fog/lib/fog/linode/requests/compute/linode_delete.rb
brightbox-cli-0.17.3 lib/brightbox-cli/vendor/fog/lib/fog/linode/requests/compute/linode_delete.rb
brightbox-cli-0.17.2 lib/brightbox-cli/vendor/fog/lib/fog/linode/requests/compute/linode_delete.rb
brightbox-cli-0.17.1 lib/brightbox-cli/vendor/fog/lib/fog/linode/requests/compute/linode_delete.rb
brightbox-cli-0.17.0 lib/brightbox-cli/vendor/fog/lib/fog/linode/requests/compute/linode_delete.rb
fog-1.1.2 lib/fog/linode/requests/compute/linode_delete.rb
fog_tractical-1.1.4 lib/fog/linode/requests/compute/linode_delete.rb
fog_tractical-1.1.3 lib/fog/linode/requests/compute/linode_delete.rb
brightbox-cli-0.16.0 lib/brightbox-cli/vendor/fog/lib/fog/linode/requests/compute/linode_delete.rb
fog-1.1.1 lib/fog/linode/requests/compute/linode_delete.rb
fog-1.1.0 lib/fog/linode/requests/compute/linode_delete.rb