Class: Rafflesia::PeptideBondOmegaRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::PeptideBondOmegaRequest
- Defined in:
- lib/rafflesia/proteins/peptide_bond_omega_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ cis_cutoff: :cis_cutoff, include_all_bonds: :include_all_bonds, structure_id: :structure_id }.freeze
Instance Attribute Summary collapse
-
#cis_cutoff ⇒ Object
Returns the value of attribute cis_cutoff.
-
#include_all_bonds ⇒ Object
Returns the value of attribute include_all_bonds.
-
#structure_id ⇒ Object
Returns the value of attribute structure_id.
Instance Method Summary collapse
-
#initialize(json) ⇒ PeptideBondOmegaRequest
constructor
A new instance of PeptideBondOmegaRequest.
Constructor Details
#initialize(json) ⇒ PeptideBondOmegaRequest
Returns a new instance of PeptideBondOmegaRequest.
19 20 21 22 23 24 25 |
# File 'lib/rafflesia/proteins/peptide_bond_omega_request.rb', line 19 def initialize(json) super() hash = self.class.normalize(json) @cis_cutoff = hash[:cis_cutoff] @include_all_bonds = hash[:include_all_bonds] @structure_id = hash[:structure_id] end |
Instance Attribute Details
#cis_cutoff ⇒ Object
Returns the value of attribute cis_cutoff.
14 15 16 |
# File 'lib/rafflesia/proteins/peptide_bond_omega_request.rb', line 14 def cis_cutoff @cis_cutoff end |
#include_all_bonds ⇒ Object
Returns the value of attribute include_all_bonds.
14 15 16 |
# File 'lib/rafflesia/proteins/peptide_bond_omega_request.rb', line 14 def include_all_bonds @include_all_bonds end |
#structure_id ⇒ Object
Returns the value of attribute structure_id.
14 15 16 |
# File 'lib/rafflesia/proteins/peptide_bond_omega_request.rb', line 14 def structure_id @structure_id end |