mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 09:21:43 +02:00
Show ident info as text #2776
This commit is contained in:
parent
4ade318870
commit
0e4f333c47
2 changed files with 25 additions and 10 deletions
|
@ -136,6 +136,12 @@ module Depp
|
|||
end
|
||||
hash
|
||||
end
|
||||
|
||||
def type_string(type_code)
|
||||
return '' if type_code.blank?
|
||||
t = SELECTION_TYPES.select { |tp| tp.second == type_code }
|
||||
t.try(:first)
|
||||
end
|
||||
end
|
||||
|
||||
def initialize(attributes = {})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue