mirror of
https://github.com/internetee/registry.git
synced 2025-07-03 09:43:36 +02:00
Fix rubocop #2752
This commit is contained in:
parent
82221da674
commit
036cbbec6b
1 changed files with 4 additions and 0 deletions
|
@ -200,6 +200,8 @@ module Depp
|
||||||
custom_params
|
custom_params
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# rubocop: disable Metrics/PerceivedComplexity
|
||||||
|
# rubocop: disable Metrics/CyclomaticComplexity
|
||||||
def construct_edit_hash(domain_params, old_domain_params)
|
def construct_edit_hash(domain_params, old_domain_params)
|
||||||
contacts = array_difference(create_contacts_hash(domain_params), create_contacts_hash(old_domain_params))
|
contacts = array_difference(create_contacts_hash(domain_params), create_contacts_hash(old_domain_params))
|
||||||
add_anon = contacts
|
add_anon = contacts
|
||||||
|
@ -231,6 +233,8 @@ module Depp
|
||||||
rem: rem_arr
|
rem: rem_arr
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
# rubocop: enable Metrics/PerceivedComplexity
|
||||||
|
# rubocop: enable Metrics/CyclomaticComplexity
|
||||||
|
|
||||||
def construct_ext_edit_hash(domain_params, old_domain_params)
|
def construct_ext_edit_hash(domain_params, old_domain_params)
|
||||||
rem_keys = create_dnskeys_hash(old_domain_params) - create_dnskeys_hash(domain_params)
|
rem_keys = create_dnskeys_hash(old_domain_params) - create_dnskeys_hash(domain_params)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue