mirror of
https://github.com/internetee/registry.git
synced 2025-07-24 19:48:28 +02:00
Renamed ident flag to type
This commit is contained in:
parent
8c20f2697b
commit
3f5b37db5c
3 changed files with 3 additions and 3 deletions
|
@ -168,7 +168,7 @@ module Epp::ContactsHelper
|
|||
end
|
||||
|
||||
def ident_type
|
||||
result = parsed_frame.css('ident').first.try(:attributes).try(:[], 'flag').try(:value)
|
||||
result = parsed_frame.css('ident').first.try(:attributes).try(:[], 'type').try(:value)
|
||||
return nil unless result
|
||||
|
||||
Contact::IDENT_TYPES.any? { |type| return type if result.include?(type) }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue