balanced / balanced-ruby

Balanced API library in ruby.
MIT License
111 stars 47 forks source link

add_card returns account if card is already associated #66

Closed mb-dev closed 10 years ago

mb-dev commented 11 years ago

While testing the library, I added a credit card to the account using: account.add_card(credit_card_uri)

the 2nd time I got back instance of account instead of card

mahmoudimus commented 11 years ago

Thanks for reporting. I'll take a look and fix this ASAP.

remear commented 10 years ago

Stale. v1.0 now operates directly on FundingInstruments, so card.associate_to_customer(customer)