mirror of
https://github.com/internetee/registry.git
synced 2025-06-07 05:05:45 +02:00
Improve DomainCreate wrapper for EPP
This commit is contained in:
parent
ccef1053d9
commit
ad2ccdba7d
7 changed files with 53 additions and 124 deletions
|
@ -32,11 +32,11 @@ module Deserializers
|
|||
end
|
||||
|
||||
def admin_contacts
|
||||
frame.css('contact').map { |c| c.text if c['type'] == 'admin' }
|
||||
frame.css('contact').select { |c| c['type'] == 'admin' }.map(&:text)
|
||||
end
|
||||
|
||||
def tech_contacts
|
||||
frame.css('contact').map { |c| c.text if c['type'] == 'tech' }
|
||||
frame.css('contact').select { |c| c['type'] == 'tech' }.map(&:text)
|
||||
end
|
||||
|
||||
def dns_keys
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue