isaacfreeman / solidus_reserved_stock

Allow customers to reserve stock in a product for a fixed period of time.
MIT License
1 stars 0 forks source link

Replace ActiveRecord callbacks with a StockReserver #1

Open isaacfreeman opened 8 years ago

isaacfreeman commented 8 years ago

In line with the general move away from Solidus using callbacks, I'd like to re-architect the gem to put the logic for moving stock between normal and reserved stock locations into a StockReserver class. However, it's in my client's interests to get working implementation soon, so I'll proceed with callbacks for the initial implementation.