Class: PeptideScore
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- PeptideScore
- Defined in:
- lib/msf/models/peptide_score.rb
Overview
ActiveRecord model of MSF PeptideScore
Example:
PeptideScore.first.score
Class Method Summary collapse
Instance Method Summary collapse
- #peptide_id ⇒ Object
- #processing_node_id ⇒ Object
- #processing_node_number ⇒ Object
- #score_id ⇒ Object
- #score_value ⇒ Object
Class Method Details
.primary_key ⇒ Object
10 11 12 |
# File 'lib/msf/models/peptide_score.rb', line 10 def self.primary_key [:ProcessingNodeNumber, :PeptideID, :ScoreID] end |
.table_name ⇒ Object
7 8 9 |
# File 'lib/msf/models/peptide_score.rb', line 7 def self.table_name :PeptideScores end |
Instance Method Details
#peptide_id ⇒ Object
16 17 18 |
# File 'lib/msf/models/peptide_score.rb', line 16 def peptide_id self.PeptideID end |
#processing_node_id ⇒ Object
22 23 24 |
# File 'lib/msf/models/peptide_score.rb', line 22 def processing_node_id self.ProcessingNodeID end |
#processing_node_number ⇒ Object
13 14 15 |
# File 'lib/msf/models/peptide_score.rb', line 13 def processing_node_number self.ProcessingNodeNumber end |
#score_id ⇒ Object
19 20 21 |
# File 'lib/msf/models/peptide_score.rb', line 19 def score_id self.ScoreID end |
#score_value ⇒ Object
25 26 27 |
# File 'lib/msf/models/peptide_score.rb', line 25 def score_value self.ScoreValue end |