diff --git a/lib/discounts/base_discount.rb b/lib/discounts/base_discount.rb index a219d13..f3801a8 100644 --- a/lib/discounts/base_discount.rb +++ b/lib/discounts/base_discount.rb @@ -1,5 +1,5 @@ class BaseDiscount - attr_reader :priority + attr_reader :discount_type, :priority @discount_type = '' # apply discount with the highest priority first