mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 08:22:05 +02:00
parent
dbf5c8b4aa
commit
7147144894
8 changed files with 38 additions and 18 deletions
|
@ -48,9 +48,9 @@ class Contact < ActiveRecord::Base
|
|||
|
||||
composed_of :identifier,
|
||||
class_name: 'Contact::Ident',
|
||||
constructor: Proc.new { |code, type, country_code| Contact::Ident.new(code: code,
|
||||
type: type,
|
||||
country_code: country_code) },
|
||||
constructor: proc { |code, type, country_code| Contact::Ident.new(code: code,
|
||||
type: type,
|
||||
country_code: country_code) },
|
||||
mapping: [%w[ident code], %w[ident_type type], %w[ident_country_code country_code]]
|
||||
|
||||
def manage_emails
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue