Method: ONIX::APAProduct#width=
- Defined in:
- lib/onix/apa_product.rb
#width=(value) ⇒ Object
set the width of the product
If APAProduct#measurement_system is metric, this should be in mm, otherwise it will be in inches.
519 520 521 522 523 524 525 |
# File 'lib/onix/apa_product.rb', line 519 def width=(value) if measurement_system == :metric measurement_set(2,value, "mm") elsif measurement_system == :imperial measurement_set(2,value, "in") end end |