Class: PeptideTerminalModification
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- PeptideTerminalModification
- Defined in:
- lib/msf/models/peptide_terminal_modification.rb
Overview
ActiveRecord model of MSF PeptideTerminalModification
Example:
PeptideTerminalModification.first
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.primary_key ⇒ Object
10 11 12 |
# File 'lib/msf/models/peptide_terminal_modification.rb', line 10 def self.primary_key [:ProcessingNodeNumber, :PeptideID, :TerminalModificationID] end |
.table_name ⇒ Object
7 8 9 |
# File 'lib/msf/models/peptide_terminal_modification.rb', line 7 def self.table_name :PeptidesTerminalModifications end |
Instance Method Details
#peptide_id ⇒ Object
16 17 18 |
# File 'lib/msf/models/peptide_terminal_modification.rb', line 16 def peptide_id self.PeptideID end |
#processing_node_number ⇒ Object
13 14 15 |
# File 'lib/msf/models/peptide_terminal_modification.rb', line 13 def processing_node_number self.ProcessingNodeNumber end |
#terminal_modification_id ⇒ Object
19 20 21 |
# File 'lib/msf/models/peptide_terminal_modification.rb', line 19 def terminal_modification_id self.TerminalModificationID end |