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