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