Class: ONIX::Price

Inherits:
Object
  • Object
show all
Extended by:
ListWriter
Includes:
DiscountCodeds, ROXML
Defined in:
lib/onix/price.rb

Constant Summary

Constants included from DiscountCodeds

DiscountCodeds::CODE_TYPES, DiscountCodeds::DEFAULT_ATTRIBUTE

Instance Method Summary collapse

Methods included from ListWriter

list_writer

Methods included from DiscountCodeds

#discount_codeds, #discount_codeds=, #find_discount_coded, #initialize_discount_codeds, #set_discount_coded

Constructor Details

#initialize(options = {}) ⇒ Price

Returns a new instance of Price.



34
35
36
37
# File 'lib/onix/price.rb', line 34

def initialize(options = {})
  initialize_discount_codeds(options) # @discount_codeds array
  @country_codes = []
end