Class: PeptidesProteins
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- PeptidesProteins
- Defined in:
- lib/msf/models/peptides_proteins.rb
Overview
ActiveRecord model of MSF PeptidesProteins Join table for Peptides and Proteins HABTM
Example:
PeptidesProteins.first
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.primary_keys ⇒ Object
11 12 13 |
# File 'lib/msf/models/peptides_proteins.rb', line 11 def self.primary_keys [:ProcessingNodeNumber, :PeptideID, :ProteinID] end |
.table_name ⇒ Object
8 9 10 |
# File 'lib/msf/models/peptides_proteins.rb', line 8 def self.table_name :PeptidesProteins end |
Instance Method Details
#peptide_id ⇒ Object
17 18 19 |
# File 'lib/msf/models/peptides_proteins.rb', line 17 def peptide_id self.PeptideID end |
#processing_node_number ⇒ Object
14 15 16 |
# File 'lib/msf/models/peptides_proteins.rb', line 14 def processing_node_number self.ProcessingNodeNumber end |
#protein_id ⇒ Object
20 21 22 |
# File 'lib/msf/models/peptides_proteins.rb', line 20 def protein_id self.ProteinID end |