mirror of
https://github.com/internetee/registry.git
synced 2025-05-30 17:33:57 +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) }
|
scope :current_registrars, ->(id) { where(registrar_id: id) }
|
||||||
|
|
||||||
BIC = 'bic'
|
BIC = 'bic'
|
||||||
|
PRIV = 'priv'
|
||||||
|
BIRTHDAY = 'birthday'
|
||||||
|
PASSPORT = 'passport'
|
||||||
|
|
||||||
IDENT_TYPES = [
|
IDENT_TYPES = [
|
||||||
BIC, # Company registry code (or similar)
|
BIC, # Company registry code (or similar)
|
||||||
'priv', # National idendtification number
|
PRIV, # National idendtification number
|
||||||
'birthday' # Birthday date
|
BIRTHDAY # Birthday date
|
||||||
]
|
]
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue