Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

add notes about Domain.delete!

  • Loading branch information...
commit 08b33fcf3edc9e37dbc55c0b496fb230813906cf 1 parent 9d3acd6
Joshua Priddle itspriddle authored

Showing 2 changed files with 8 additions and 1 deletion. Show diff stats Hide diff stats

  1. +5 0 README.md
  2. +3 1 lib/enom/domain.rb
5 README.md
Source Rendered
@@ -48,6 +48,11 @@ Enom::Domain.available?("example.com")
48 48 # Register a domain
49 49 d = Enom::Domain.register!("example.com")
50 50 # => #<Enom::Domain:0x1019f3b78...
  51 +
  52 +# Delete a registration (domain must be less than 5 days old and your account
  53 +# must be on Enom's DeleteRegistration whitelist - your Enom account rep can
  54 +# enable it for you)
  55 +Enom::Domain.delete!("example.com")
51 56 ```
52 57
53 58 ## Domain Operations
4 lib/enom/domain.rb
@@ -112,7 +112,9 @@ def self.register!(name, options = {})
112 112 Domain.find(name)
113 113 end
114 114
115   - # Delete a domain name registration.
  115 + # Delete a domain name registration from your account. The domain must be
  116 + # less than 5 days old and you must be on Enom's "DeleteRegistration
  117 + # whitelist" for resellers (your account rep can enable it for you).
116 118 #
117 119 # Returns true if successful, false if failed.
118 120 def self.delete!(name, options = {})

0 comments on commit 08b33fc

Please sign in to comment.
Something went wrong with that request. Please try again.