Class: AminoAcidModificationsAminoAcids
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- AminoAcidModificationsAminoAcids
- Defined in:
- lib/msf/models/amino_acid_modifications_amino_acids.rb
Overview
ActiveRecord model of MSF AminoAcidModificationsAminoAcids Join table for AminoAcid and AminoAcidModification HABTM
Example:
AminoAcidModificationsAminoAcids.first.classification
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.primary_key ⇒ Object
11 12 13 |
# File 'lib/msf/models/amino_acid_modifications_amino_acids.rb', line 11 def self.primary_key [:AminoAcidModificationID, :AminoAcidID] end |
.table_name ⇒ Object
8 9 10 |
# File 'lib/msf/models/amino_acid_modifications_amino_acids.rb', line 8 def self.table_name :AminoAcidModificationsAminoAcids end |
Instance Method Details
#amino_acid_id ⇒ Object
17 18 19 |
# File 'lib/msf/models/amino_acid_modifications_amino_acids.rb', line 17 def amino_acid_id self.AminoAcidID end |
#amino_acid_modification_id ⇒ Object
14 15 16 |
# File 'lib/msf/models/amino_acid_modifications_amino_acids.rb', line 14 def amino_acid_modification_id self.AminoAcidModificationID end |
#classification ⇒ Object
20 21 22 |
# File 'lib/msf/models/amino_acid_modifications_amino_acids.rb', line 20 def classification self.Classification end |