Created
September 22, 2009 20:27
-
-
Save ultraspeed/191399 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
raise ArgumentError, "Registration type is not 'registration'" unless registration? | |
raise ArgumentError, "TLD does not support automatic registrations" unless supports_automatic_registrations? | |
raise ArgumentError, "Contact information is invalid" unless contact_information_valid? | |
if registration_complete? | |
toggle!(:processed) | |
else | |
return false | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment