mirror of
https://github.com/internetee/registry.git
synced 2025-07-03 01:33:36 +02:00
Go back to original dnskey
This commit is contained in:
parent
c19168c2ea
commit
eaa553dc9d
12 changed files with 189 additions and 125 deletions
|
@ -169,7 +169,7 @@ module Epp
|
|||
end
|
||||
end
|
||||
|
||||
def domain_update_xml(xml_params = {})
|
||||
def domain_update_xml(xml_params = {}, dnssec_params = false)
|
||||
defaults = {
|
||||
name: { value: 'example.ee' }
|
||||
}
|
||||
|
@ -186,6 +186,12 @@ module Epp
|
|||
generate_xml_from_hash(xml_params, xml, 'domain')
|
||||
end
|
||||
end
|
||||
|
||||
xml.extension do
|
||||
xml.tag!('secDNS:create', 'xmlns:secDNS' => 'urn:ietf:params:xml:ns:secDNS-1.1') do
|
||||
generate_xml_from_hash(dnssec_params, xml, 'secDNS')
|
||||
end
|
||||
end if dnssec_params != false
|
||||
xml.clTRID 'ABC-12345'
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue