Class: Rafflesia::VariantSplitRequest

Inherits:
Types::BaseModel
  • Object
show all
Defined in:
lib/rafflesia/genomes/variant_split_request.rb

Constant Summary collapse

HASH_ATTRS =
{
  path: :path
}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ VariantSplitRequest

Returns a new instance of VariantSplitRequest.



14
15
16
17
18
# File 'lib/rafflesia/genomes/variant_split_request.rb', line 14

def initialize(json)
  super()
  hash = self.class.normalize(json)
  @path = hash[:path]
end

Instance Attribute Details

#pathObject

Returns the value of attribute path.



12
13
14
# File 'lib/rafflesia/genomes/variant_split_request.rb', line 12

def path
  @path
end