Class: Rafflesia::BlastDbVerifyRequest

Inherits:
Types::BaseModel
  • Object
show all
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

Instance Method Summary collapse

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_pathObject

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

#refObject

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_dirObject

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