Class: ONIX::Price
- Inherits:
-
Object
- Object
- ONIX::Price
- 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
-
#initialize(options = {}) ⇒ Price
constructor
A new instance of Price.
Methods included from ListWriter
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( = {}) initialize_discount_codeds() # @discount_codeds array @country_codes = [] end |