~singpolyma/sgx-jmp

1c4bb4094344f249e2c4d8a0bd9a48b4aab35327 — Stephen Paul Weber 2 years ago 5d3f180
Fix for ruby3
2 files changed, 2 insertions(+), 2 deletions(-)

M lib/customer.rb
M lib/registration.rb
M lib/customer.rb => lib/customer.rb +1 -1
@@ 41,7 41,7 @@ class Customer

		klass.new(
			customer_id, jid,
			plan: CustomerPlan.extract(customer_id, kwargs),
			plan: CustomerPlan.extract(customer_id, **kwargs),
			**kwargs.slice(:balance, :sgx, :tndetails, *keys)
		)
	end

M lib/registration.rb => lib/registration.rb +1 -1
@@ 217,7 217,7 @@ class Registration
		end

		class CreditCard
			Payment.kinds[:credit_card] = ->(*args) { self.for(*args) }
			Payment.kinds[:credit_card] = ->(*args, **kw) { self.for(*args, **kw) }

			def self.for(customer, tel, finish: Finish, **)
				customer.payment_methods.then do |payment_methods|