Domain name validation through EPP

This commit is contained in:
Martin Lensment 2014-06-30 14:16:58 +03:00
parent b592b973ff
commit d2e30c0c5f
3 changed files with 14 additions and 4 deletions

View file

@ -9,6 +9,7 @@ xml.epp_head do
@domains.each do |x|
xml.tag!('domain:cd') do
xml.tag!('domain:name', x[:name], 'avail' => x[:avail])
xml.tag!('domain:reason', x[:reason]) if x[:reason].present?
end
end
end