Dwolla / dwolla-v2-ruby

Official Ruby Wrapper for Dwolla's API v2
https://developers.dwolla.com/
MIT License
22 stars 17 forks source link

Implement #empty? on DwollaV2::Token #24

Closed sausman closed 7 years ago

sausman commented 7 years ago

Implement #empty? on DwollaV2::Token to allow it to be passed to ActiveRecord constructor.

https://github.com/rails/rails/blob/d1ca18d21f3c173af34dfdc3fa34de577178fee9/activemodel/lib/active_model/attribute_assignment.rb#L30