Details
Description
https://app.bugsnag.com/3scale-networks-sl/system/errors/633461222d9a1f0008fb064e
When updating credit card by API and `credit_card_expiration_year` or `credit_card_expiration_month` are missing, then an unhandled error is raised.
NoMethodError admin/api/credit_cards#update
Make sure proper 4xx HTTP status code is returned on such occasions. Also check if other parameters have a similar behavior.
It is easy to reproduce with test/functional/admin/api/credit_cards_controller_test.rb by removing parameter from the test parameters hash.