Skip to content

Commit

Permalink
Better variable name.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabe Berke-Williams committed Jan 13, 2012
1 parent bb1f339 commit 3e8745f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/fake_braintree/customer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3e8745f

Please sign in to comment.