From 0e9a56e4a660a00f0d08fa505eb0e4347ebfbe0a Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Tue, 23 Feb 2021 14:49:44 -0500 Subject: [PATCH] fix typo --- config.ru | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.ru b/config.ru index 07c1060..ca9fa32 100644 --- a/config.ru +++ b/config.ru @@ -26,10 +26,10 @@ class CreditCardGateway cresult = @gateway.customer.create raise "Braintree customer create failed" unless cresult.success? - result = REDIS.set(redis_key, result.customer.id) + result = REDIS.set(redis_key, cresult.customer.id) raise "Saving new customer to redis failed" unless result == "OK" - result.customer.id + cresult.customer.id end def client_token -- 2.45.2