Other Red Wine

Choose from a hearty selection of other forms of red wine like sweet wine or red wine liquor online, sometimes even considered to be slightly unconventional. There’s so much to pick from, right here on your favorite online wine shop, TheLiquorStore.com!

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