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
brightbox-cli-0.13.1 lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/dnsimple/delete_domain.rb
brightbox-cli-0.13.0 lib/brightbox-cli/vendor/fog/lib/fog/dns/requests/dnsimple/delete_domain.rb
fog-0.11.0 lib/fog/dns/requests/dnsimple/delete_domain.rb
fog-0.10.0 lib/fog/dns/requests/dnsimple/delete_domain.rb
fog4encbs-0.9.0.1 lib/fog/dns/requests/dnsimple/delete_domain.rb
fog4encbs-0.9.0 lib/fog/dns/requests/dnsimple/delete_domain.rb
fog-0.9.0 lib/fog/dns/requests/dnsimple/delete_domain.rb