Class: StockChange
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- StockChange
- Defined in:
- app/models/stock_change.rb
Instance Method Summary collapse
- #update_article_quantity ⇒ Object protected
Instance Method Details
#update_article_quantity ⇒ Object (protected)
15 16 17 |
# File 'app/models/stock_change.rb', line 15 def update_article_quantity stock_article.update_quantity! end |