lib/OpenPay/Customers.rb in openpay-1.0.1 vs lib/OpenPay/Customers.rb in openpay-1.0.2
- old
+ new
@@ -32,10 +32,9 @@
def delete_all_bank_accounts(customer)
if env == :production
raise OpenpayException.new('This method is not supported on PRODUCTION',false)
end
each_bank_account(customer) do |account|
- warn "deleting bank_account: #{account['id']}"
delete("#{customer}/bankaccounts/#{account['id']}")
end
end
\ No newline at end of file