Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add notes about Domain.delete!

  • Loading branch information...
commit 08b33fcf3edc9e37dbc55c0b496fb230813906cf 1 parent 9d3acd6
Joshua Priddle itspriddle authored
Showing with 8 additions and 1 deletion.
  1. +5 −0 README.md
  2. +3 −1 lib/enom/domain.rb
5 README.md
View
@@ -48,6 +48,11 @@ Enom::Domain.available?("example.com")
# Register a domain
d = Enom::Domain.register!("example.com")
# => #<Enom::Domain:0x1019f3b78...
+
+# Delete a registration (domain must be less than 5 days old and your account
+# must be on Enom's DeleteRegistration whitelist - your Enom account rep can
+# enable it for you)
+Enom::Domain.delete!("example.com")
```
## Domain Operations
4 lib/enom/domain.rb
View
@@ -112,7 +112,9 @@ def self.register!(name, options = {})
Domain.find(name)
end
- # Delete a domain name registration.
+ # Delete a domain name registration from your account. The domain must be
+ # less than 5 days old and you must be on Enom's "DeleteRegistration
+ # whitelist" for resellers (your account rep can enable it for you).
#
# Returns true if successful, false if failed.
def self.delete!(name, options = {})
Please sign in to comment.
Something went wrong with that request. Please try again.