mirror of
https://github.com/internetee/registry.git
synced 2025-05-29 09:00:02 +02:00
Added password type
This commit is contained in:
parent
7d94304d56
commit
393a4f6d06
1 changed files with 7 additions and 3 deletions
|
@ -39,10 +39,14 @@ class Contact < ActiveRecord::Base
|
|||
scope :current_registrars, ->(id) { where(registrar_id: id) }
|
||||
|
||||
BIC = 'bic'
|
||||
PRIV = 'priv'
|
||||
BIRTHDAY = 'birthday'
|
||||
PASSPORT = 'passport'
|
||||
|
||||
IDENT_TYPES = [
|
||||
BIC, # Company registry code (or similar)
|
||||
'priv', # National idendtification number
|
||||
'birthday' # Birthday date
|
||||
BIC, # Company registry code (or similar)
|
||||
PRIV, # National idendtification number
|
||||
BIRTHDAY # Birthday date
|
||||
]
|
||||
|
||||
class << self
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue