Class: ONIX::RelatedProduct

Inherits:
Object
  • Object
show all
Extended by:
ListWriter
Includes:
Inflector, ProductIdentifiers, ROXML
Defined in:
lib/onix/related_product.rb

Constant Summary

Constants included from ProductIdentifiers

ProductIdentifiers::ACCESSOR_METHODS

Instance Method Summary collapse

Methods included from ListWriter

list_writer

Methods included from Inflector

#attributes

Methods included from ProductIdentifiers

#initialize_product_identifiers, #product_identifiers

Constructor Details

#initialize(options = {}) ⇒ RelatedProduct

Returns a new instance of RelatedProduct.



16
17
18
19
20
# File 'lib/onix/related_product.rb', line 16

def initialize(options = {})
  # Must initialize arrays prior to attributes
  initialize_product_identifiers(options) # @product_identifiers array
  initialize_attributes(options)
end