Skip to content

Commit

Permalink
Let's inline.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabe Berke-Williams committed Jan 13, 2012
1 parent 6d7d90c commit bb1f339
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions lib/fake_braintree/customer.rb
Expand Up @@ -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

Expand Down
Empty file.

0 comments on commit bb1f339

Please sign in to comment.