balanced / balanced-ruby

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

Method Comments Returned Object Incorrect #116

Closed remear closed 11 years ago

remear commented 11 years ago

https://github.com/balanced/balanced-ruby/blob/master/lib/balanced/resources/customer.rb#L76

Customer.add_card method comment states a Card will be returned. A Customer is returned.

https://github.com/balanced/balanced-ruby/blob/master/lib/balanced/resources/customer.rb#L87

Customer.add_bank_account method comment states a BankAccount will be returned. A Customer is returned.

https://github.com/balanced/balanced-ruby/blob/master/lib/balanced/resources/account.rb#L114

Account.add_card method comment states a Card will be returned. An Account is returned.

https://github.com/balanced/balanced-ruby/blob/master/lib/balanced/resources/account.rb#L124

Account.add_bank_account method comment states a BankAccount will be returned. An Account is returned.