Class: Rafflesia::SearchSegmentLocatorRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::SearchSegmentLocatorRequest
- Defined in:
- lib/rafflesia/sequences/search_segment_locator_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ manifest_object_id: :manifest_object_id, manifest_path: :manifest_path }.freeze
Instance Attribute Summary collapse
-
#manifest_object_id ⇒ Object
Returns the value of attribute manifest_object_id.
-
#manifest_path ⇒ Object
Returns the value of attribute manifest_path.
Instance Method Summary collapse
-
#initialize(json) ⇒ SearchSegmentLocatorRequest
constructor
A new instance of SearchSegmentLocatorRequest.
Constructor Details
#initialize(json) ⇒ SearchSegmentLocatorRequest
Returns a new instance of SearchSegmentLocatorRequest.
17 18 19 20 21 22 |
# File 'lib/rafflesia/sequences/search_segment_locator_request.rb', line 17 def initialize(json) super() hash = self.class.normalize(json) @manifest_object_id = hash[:manifest_object_id] @manifest_path = hash[:manifest_path] end |
Instance Attribute Details
#manifest_object_id ⇒ Object
Returns the value of attribute manifest_object_id.
13 14 15 |
# File 'lib/rafflesia/sequences/search_segment_locator_request.rb', line 13 def manifest_object_id @manifest_object_id end |
#manifest_path ⇒ Object
Returns the value of attribute manifest_path.
13 14 15 |
# File 'lib/rafflesia/sequences/search_segment_locator_request.rb', line 13 def manifest_path @manifest_path end |