Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Better variable name.

  • Loading branch information...
commit 3e8745f3ac0d5422223c5a7a1b861294d02b6c4d 1 parent bb1f339
@gabebw gabebw authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/fake_braintree/customer.rb
View
4 lib/fake_braintree/customer.rb
@@ -25,8 +25,8 @@ def create
def update
if customer_exists_in_registry?
updates = customer_hash
- hash = update_customer!(updates)
- response_for_updated_customer(hash)
+ updated_customer = update_customer!(updates)
+ response_for_updated_customer(updated_customer)
else
response_for_customer_not_found
end
Please sign in to comment.
Something went wrong with that request. Please try again.