Class: ProductHold
- Inherits:
-
Record
- Object
- Record
- ProductHold
- Defined in:
- lib/models/product_hold.rb
Instance Method Summary collapse
Instance Method Details
#increment_quantity ⇒ Object
3 4 5 6 |
# File 'lib/models/product_hold.rb', line 3 def increment_quantity return if product.unlimited_quantity product.increment! :quantity end |