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