From 393a4f6d06f8b403fe621fa4d2785dce74bdb3ab Mon Sep 17 00:00:00 2001 From: Priit Tark Date: Thu, 2 Apr 2015 17:22:32 +0300 Subject: [PATCH] Added password type --- app/models/contact.rb | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/app/models/contact.rb b/app/models/contact.rb index 79a0e29c0..b1e1e568d 100644 --- a/app/models/contact.rb +++ b/app/models/contact.rb @@ -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