Class: Rafflesia::BlastDbMaterializeRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::BlastDbMaterializeRequest
- Defined in:
- lib/rafflesia/sequences/blast_db_materialize_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ manifest_path: :manifest_path, ref: :ref, target_dir: :target_dir, verify: :verify }.freeze
Instance Attribute Summary collapse
-
#manifest_path ⇒ Object
Returns the value of attribute manifest_path.
-
#ref ⇒ Object
Returns the value of attribute ref.
-
#target_dir ⇒ Object
Returns the value of attribute target_dir.
-
#verify ⇒ Object
Returns the value of attribute verify.
Instance Method Summary collapse
-
#initialize(json) ⇒ BlastDbMaterializeRequest
constructor
A new instance of BlastDbMaterializeRequest.
Constructor Details
#initialize(json) ⇒ BlastDbMaterializeRequest
Returns a new instance of BlastDbMaterializeRequest.
21 22 23 24 25 26 27 28 |
# File 'lib/rafflesia/sequences/blast_db_materialize_request.rb', line 21 def initialize(json) super() hash = self.class.normalize(json) @manifest_path = hash[:manifest_path] @ref = hash[:ref] @target_dir = hash[:target_dir] @verify = hash[:verify] end |
Instance Attribute Details
#manifest_path ⇒ Object
Returns the value of attribute manifest_path.
15 16 17 |
# File 'lib/rafflesia/sequences/blast_db_materialize_request.rb', line 15 def manifest_path @manifest_path end |
#ref ⇒ Object
Returns the value of attribute ref.
15 16 17 |
# File 'lib/rafflesia/sequences/blast_db_materialize_request.rb', line 15 def ref @ref end |
#target_dir ⇒ Object
Returns the value of attribute target_dir.
15 16 17 |
# File 'lib/rafflesia/sequences/blast_db_materialize_request.rb', line 15 def target_dir @target_dir end |
#verify ⇒ Object
Returns the value of attribute verify.
15 16 17 |
# File 'lib/rafflesia/sequences/blast_db_materialize_request.rb', line 15 def verify @verify end |