Clearer name for lock bypass factory
1 files changed, 2 insertions(+), 2 deletions(-) M lib/low_balance.rb
M lib/low_balance.rb => lib/low_balance.rb +2 -2
@@ 11,11 11,11 @@ class LowBalance "jmp_customer_low_balance-#{customer.customer_id}", expiry: 60 * 60 * 24 * 7 ).with(-> { Locked.new }) do for_auto_top_up_amount(customer) for_no_lock(customer) end end def self.for_auto_top_up_amount(customer) def self.for_no_lock(customer) if customer.auto_top_up_amount.positive? AutoTopUp.new(customer) else