Class: Rafflesia::DatasetCompareRequest

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

Instance Method Summary collapse

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_aObject

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_bObject

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