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