mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 00:42:04 +02:00
parent
4e6d576b67
commit
658bf6dda2
3 changed files with 2 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
class Contact::Ident::NationalIDValidator < ActiveModel::EachValidator
|
||||
class Contact::Ident::NationalIdValidator < ActiveModel::EachValidator
|
||||
def self.country_specific_validations
|
||||
{
|
||||
Country.new('EE') => proc { |code| Isikukood.new(code).valid? },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue