~singpolyma/sgx-jmp

456a45b1c3fb8f91d6520d5fdd922c9cf9f2f56b — Stephen Paul Weber 1 year, 6 months ago ba03284
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