Class: NameFamily

Inherits:
Sequel::Model
  • Object
show all
Defined in:
backend/app/model/name_family.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.type_specific_hash_fieldsObject



19
20
21
# File 'backend/app/model/name_family.rb', line 19

def self.type_specific_hash_fields
  %w(family_name prefix qualifier)
end

Instance Method Details

#representative_for_typesObject



15
16
17
# File 'backend/app/model/name_family.rb', line 15

def representative_for_types
  { authorized: [:agent_family], is_display_name: [:agent_family] }
end