Class: CustomDataPeptide
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- CustomDataPeptide
- Defined in:
- lib/msf/models/custom_data_peptide.rb
Overview
ActiveRecord model of MSF CustomDataPeptide
Example:
CustomDataPeptide.find(1)
CustomDataPeptide.first.field_value
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.primary_key ⇒ Object
11 12 13 |
# File 'lib/msf/models/custom_data_peptide.rb', line 11 def self.primary_key [:FieldID, :PeptideID] end |
.table_name ⇒ Object
8 9 10 |
# File 'lib/msf/models/custom_data_peptide.rb', line 8 def self.table_name :CustomDataPeptides end |
Instance Method Details
#field_id ⇒ Object
14 15 16 |
# File 'lib/msf/models/custom_data_peptide.rb', line 14 def field_id self.FieldID end |
#field_value ⇒ Object
20 21 22 |
# File 'lib/msf/models/custom_data_peptide.rb', line 20 def field_value self.FieldValue end |
#peptide_id ⇒ Object
17 18 19 |
# File 'lib/msf/models/custom_data_peptide.rb', line 17 def peptide_id self.PeptideID end |