Clearer name for lock bypass factory

Stephen Paul Weber created

Change summary

lib/low_balance.rb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Detailed changes

lib/low_balance.rb 🔗

@@ -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