lib/fake_braintree/customer.rb in fake_braintree-0.3 vs lib/fake_braintree/customer.rb in fake_braintree-0.4
- old
+ new
@@ -3,10 +3,11 @@
include Helpers
def initialize(customer_hash_from_params, options)
@customer_hash = {
'id' => options[:id],
- 'merchant_id' => options[:merchant_id]
+ 'merchant_id' => options[:merchant_id],
+ 'addresses' => []
}
@customer_hash.merge!(customer_hash_from_params)
set_customer_id
end