Class: Rafflesia::BlastDbVerifyRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::BlastDbVerifyRequest
- Defined in:
- lib/rafflesia/sequences/blast_db_verify_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ manifest_path: :manifest_path, ref: :ref, target_dir: :target_dir }.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.
Instance Method Summary collapse
-
#initialize(json) ⇒ BlastDbVerifyRequest
constructor
A new instance of BlastDbVerifyRequest.
Constructor Details
#initialize(json) ⇒ BlastDbVerifyRequest
Returns a new instance of BlastDbVerifyRequest.
19 20 21 22 23 24 25 |
# File 'lib/rafflesia/sequences/blast_db_verify_request.rb', line 19 def initialize(json) super() hash = self.class.normalize(json) @manifest_path = hash[:manifest_path] @ref = hash[:ref] @target_dir = hash[:target_dir] end |
Instance Attribute Details
#manifest_path ⇒ Object
Returns the value of attribute manifest_path.
14 15 16 |
# File 'lib/rafflesia/sequences/blast_db_verify_request.rb', line 14 def manifest_path @manifest_path end |
#ref ⇒ Object
Returns the value of attribute ref.
14 15 16 |
# File 'lib/rafflesia/sequences/blast_db_verify_request.rb', line 14 def ref @ref end |
#target_dir ⇒ Object
Returns the value of attribute target_dir.
14 15 16 |
# File 'lib/rafflesia/sequences/blast_db_verify_request.rb', line 14 def target_dir @target_dir end |