braintree / braintree_ruby

Braintree Ruby library
https://developer.paypal.com/braintree/docs/start/overview
MIT License
444 stars 195 forks source link

Add `default?` attribute in PaymentMethodNonce #215

Closed klouvas closed 3 years ago

klouvas commented 3 years ago

Summary

Add default? attribute in PaymentMethodNonce.

I will add a changelog entry and unit tests if this change is accepted.

see: https://developers.braintreepayments.com/reference/response/payment-method-nonce/ruby#default

Checklist

sestevens commented 3 years ago

@klouvas Thanks for opening this PR! You're right that this attribute should exist on PaymentMethodNonce. We'll add unit and integration tests for this change internally and make sure this gets out in the next release.

sshropshire commented 3 years ago

This change is released in 4.2.0.