Add historical note to CartService

Useful background when applying upstream fixes from Spree::OrderPopulator, and means grepping for OrderPopulator doesn't come up empty.
This commit is contained in:
Matt-Yorkley
2021-01-30 16:57:05 +00:00
parent d39468013e
commit 3da21ce2bd

View File

@@ -1,5 +1,7 @@
require 'open_food_network/scope_variant_to_hub'
# Previously Spree::OrderPopulator. Modified to work with max_quantity and variant overrides.
class CartService
attr_accessor :order, :currency
attr_reader :variants_h