Class: TaxonomyName
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- TaxonomyName
- Defined in:
- lib/msf/models/taxonomy_name.rb
Overview
ActiveRecord model of MSF TaxonomyName
Example:
TaxonomyName.find(1)
TaxonomyName.first.name
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.primary_key ⇒ Object
11 12 13 |
# File 'lib/msf/models/taxonomy_name.rb', line 11 def self.primary_key :TaxonomyID end |
.table_name ⇒ Object
8 9 10 |
# File 'lib/msf/models/taxonomy_name.rb', line 8 def self.table_name :TaxonomyNames end |
Instance Method Details
#name ⇒ Object
17 18 19 |
# File 'lib/msf/models/taxonomy_name.rb', line 17 def name self.Name end |
#name_category ⇒ Object
20 21 22 |
# File 'lib/msf/models/taxonomy_name.rb', line 20 def name_category self.NameCategory end |
#taxonomy_id ⇒ Object
14 15 16 |
# File 'lib/msf/models/taxonomy_name.rb', line 14 def taxonomy_id self.TaxonomyID end |