mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 19:20:37 +02:00
renamed xml array attribute check
This commit is contained in:
parent
3b7289607c
commit
a5d38c7b33
2 changed files with 4 additions and 4 deletions
|
@ -53,9 +53,9 @@ module Epp
|
|||
%w(postalInfo)])
|
||||
return epp_errors.empty? unless @ph['postalInfo'].is_a?(Hash) || @ph['postalInfo'].is_a?(Array)
|
||||
|
||||
xml_nested_attrs_present?(@ph['postalInfo'], [%w(name),
|
||||
%w(addr city),
|
||||
%w(addr cc)])
|
||||
xml_attrs_array_present?(@ph['postalInfo'], [%w(name),
|
||||
%w(addr city),
|
||||
%w(addr cc)])
|
||||
end
|
||||
|
||||
## UPDATE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue