Rum

Mojito, Pina Colada and Daiquiri to name a few, cocktails with rum are classic favorites. What makes this spirit special? Rum is an alcoholic beverage, distilled from sugar. The sugar can be molasses, syrup, or pure cane sugar. Rum is known to have a sweet and toasted character. But did you know that some countries forbid sugar in this liquor?

The origin of this liquor is mysterious to this day, but rum was the most popular drink in the 1700s. Records are limited and historians debate when and where it was first created. Although, it is thought to have originated in the 17th century on the Caribbean island of Barbados.

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