Du Bouchett Liqueur Triple Sec 1L

Flavor derived from Curacao orange peels imported from Dutch West Indies.
Flavor derived from Curacao orange peels imported from Dutch West Indies.

Product Detail

Size 1 L
Producer Du Bouchett Liqueur
class DisableDiscountCodesCampaign def initialize(rejection_message) @rejection_message = rejection_message end def run(cart) return if cart.discount_code.nil? cart.discount_code.reject(message: @rejection_message) end end CAMPAIGNS = [ DisableDiscountCodesCampaign.new(REJECTION_MESSAGE), ] CAMPAIGNS.each do |campaign| campaign.run(Input.cart) end Output.cart = Input.cart