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