Class: Rafflesia::BlastDbDescribeRequest

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

Instance Method Summary collapse

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_pathObject

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

#refObject

Returns the value of attribute ref.



13
14
15
# File 'lib/rafflesia/sequences/blast_db_describe_request.rb', line 13

def ref
  @ref
end