spreedly / spreedly-gem

A convenient Ruby wrapper for the Spreedly API.
MIT License
108 stars 86 forks source link

Support updating `eligible_for_card_updater` on expired cards #97

Closed samoli closed 4 years ago

samoli commented 4 years ago

It's currently not possible to update an expired payment method, because the necessary attributes are not defined.

This PR adds support for the the allow_expired_date, allow_blank_date and allow_blank_name attributes as specified in the Spreedly API documentation for payment_method#update.

jeremywrowe commented 4 years ago

@samoli Thanks for the contributions! Can you add your change to the changelog as described here: https://github.com/spreedly/spreedly-gem#contributing

jeremywrowe commented 4 years ago

Closing this due to inactivity. Please feel free to reopen after the suggested changes are made.