Class: Edi::Amazon::JsonListingGenerator::BaseGenerator::GenerateResult

Inherits:
Data
  • Object
show all
Defined in:
app/services/edi/amazon/json_listing_generator/base_generator.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes_hash: nil, product_data_hash: nil, missing_attributes: nil) ⇒ GenerateResult

Returns a new instance of GenerateResult.



10
# File 'app/services/edi/amazon/json_listing_generator/base_generator.rb', line 10

def initialize(attributes_hash: nil, product_data_hash: nil, missing_attributes: nil) = super

Instance Attribute Details

#attributes_hashObject (readonly)

Returns the value of attribute attributes_hash

Returns:

  • (Object)

    the current value of attributes_hash



9
10
11
# File 'app/services/edi/amazon/json_listing_generator/base_generator.rb', line 9

def attributes_hash
  @attributes_hash
end

#missing_attributesObject (readonly)

Returns the value of attribute missing_attributes

Returns:

  • (Object)

    the current value of missing_attributes



9
10
11
# File 'app/services/edi/amazon/json_listing_generator/base_generator.rb', line 9

def missing_attributes
  @missing_attributes
end

#product_data_hashObject (readonly)

Returns the value of attribute product_data_hash

Returns:

  • (Object)

    the current value of product_data_hash



9
10
11
# File 'app/services/edi/amazon/json_listing_generator/base_generator.rb', line 9

def product_data_hash
  @product_data_hash
end