mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 19:20:37 +02:00
Refactor domain transfer
This commit is contained in:
parent
1996ff725e
commit
003a4ca3c0
5 changed files with 189 additions and 58 deletions
|
@ -279,7 +279,7 @@ module Epp
|
|||
epp_xml.check(xml_params)
|
||||
end
|
||||
|
||||
def domain_transfer_xml(xml_params = {}, op = 'query')
|
||||
def domain_transfer_xml(xml_params = {}, op = 'query', custom_params = {})
|
||||
defaults = {
|
||||
name: { value: 'example.ee' },
|
||||
authInfo: {
|
||||
|
@ -289,7 +289,7 @@ module Epp
|
|||
|
||||
xml_params = defaults.deep_merge(xml_params)
|
||||
epp_xml = EppXml::Domain.new(cl_trid: 'ABC-12345')
|
||||
epp_xml.transfer(xml_params, op)
|
||||
epp_xml.transfer(xml_params, op, custom_params)
|
||||
end
|
||||
|
||||
def log(req, res)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue