Class: NameSoftware

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

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.type_specific_hash_fieldsObject



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

def self.type_specific_hash_fields
  %w(software_name version manufacturer qualifier)
end

Instance Method Details

#representative_for_typesObject



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

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