Llords Melonaire Melon Liqueur 1L

Llords Melonaire Melon Liqueur 1L
Llords Melonaire Melon Liqueur 1L

Product Detail

Size 1 L
Producer Llord's Liqueur
Country United States
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