Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Let's inline.

  • Loading branch information...
commit bb1f339fca33d75e7ca54e0721c472e1a74ccd04 1 parent 6d7d90c
@gabebw gabebw authored
View
7 lib/fake_braintree/customer.rb
@@ -15,11 +15,10 @@ def create
if invalid?
response_for_invalid_card
else
- hash = customer_hash
- credit_cards = hash["credit_cards"]
- create_customer_with(hash)
+ credit_cards = customer_hash["credit_cards"]
+ create_customer_with(customer_hash)
credit_cards.each { |card| add_credit_card_to_registry(card) }
- response_for_created_customer(hash)
+ response_for_created_customer(customer_hash)
end
end
View
0  spec/fake_braintree/redirect_spec.rb
No changes.
Please sign in to comment.
Something went wrong with that request. Please try again.