Skip to content

Commit

Permalink
Add missing getter
Browse files Browse the repository at this point in the history
  • Loading branch information
developertogo committed Dec 3, 2022
1 parent 0fb5816 commit 003d8ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/discounts/base_discount.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
class BaseDiscount
attr_reader :priority
attr_reader :discount_type, :priority

@discount_type = ''
# apply discount with the highest priority first
Expand Down

0 comments on commit 003d8ab

Please sign in to comment.