Do not handle not registered domain in EPP domain:info

This commit is contained in:
Artur Beljajev 2019-03-15 12:46:18 +02:00
parent d86ec026e3
commit 66417d69d9
7 changed files with 41 additions and 183 deletions

View file

@ -57,6 +57,10 @@ module DNS
Domain.find_by_idn(name)
end
def not_registered?
!registered?
end
def blocked?
BlockedDomain.where(name: name).any?
end