Sha256: 2e9906199179b4b756a38c60599c7f5a2f7432d66792043151b493366ee3feba

Contents?: true

Size: 661 Bytes

Versions: 67

Compression:

Stored size: 661 Bytes

Contents

module Fog
  module DNS
    class DNSimple
      class Real

        # Delete the given domain from your account. You may use
        # either the domain ID or the domain name.
        #
        # Please note that for domains which are registered with
        # DNSimple this will not delete the domain from the registry.
        #
        # ==== Parameters
        # * name<~String> - domain name or numeric ID
        #
        def delete_domain(name)
          request(
                  :expects  => 200,
                  :method   => 'DELETE',
                  :path     => "/domains/#{name}"
                  )
        end

      end
    end
  end
end

Version data entries

67 entries across 67 versions & 19 rubygems

Version Path
gapinc-fog-1.12.1.2.1 lib/fog/dnsimple/requests/dns/delete_domain.rb
fog-1.14.0 lib/fog/dnsimple/requests/dns/delete_domain.rb
fog-1.13.0 lib/fog/dnsimple/requests/dns/delete_domain.rb
gapinc-fog-1.12.1.2 lib/fog/dnsimple/requests/dns/delete_domain.rb
gapinc-fog-1.12.1.1 lib/fog/dnsimple/requests/dns/delete_domain.rb
gapinc-fog-1.12.1a lib/fog/dnsimple/requests/dns/delete_domain.rb
gapinc-fog-1.12.1 lib/fog/dnsimple/requests/dns/delete_domain.rb
fog-1.12.1 lib/fog/dnsimple/requests/dns/delete_domain.rb
fog-1.12.0 lib/fog/dnsimple/requests/dns/delete_domain.rb
hpfog-0.0.20 lib/fog/dnsimple/requests/dns/delete_domain.rb
vagrant-shell-0.2.6 vendor/bundle/gems/fog-1.10.1/lib/fog/dnsimple/requests/dns/delete_domain.rb
vagrant-shell-0.2.5 vendor/bundle/gems/fog-1.10.1/lib/fog/dnsimple/requests/dns/delete_domain.rb
fog-nirvanix-1.8.2 lib/fog/dnsimple/requests/dns/delete_domain.rb
fog-1.11.1 lib/fog/dnsimple/requests/dns/delete_domain.rb
fog-1.11.0 lib/fog/dnsimple/requests/dns/delete_domain.rb
fog-nirvanix-1.8.1 lib/fog/dnsimple/requests/dns/delete_domain.rb
fog-1.10.1 lib/fog/dnsimple/requests/dns/delete_domain.rb
fog-parser-fix-1.6.1 lib/fog/dnsimple/requests/dns/delete_domain.rb
fog-test-again-1.6.0 lib/fog/dnsimple/requests/dns/delete_domain.rb
fog-test-me-1.10.0 lib/fog/dnsimple/requests/dns/delete_domain.rb