Class: NamePerson

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

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.type_specific_hash_fieldsObject



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

def self.type_specific_hash_fields
  %w(primary_name title name_order prefix rest_of_name suffix fuller_form number qualifier )
end

Instance Method Details

#representative_for_typesObject



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

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