mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-11-28 00:02:45 -05:00
Previously, the value of whatever accessor was missing was left out of the call to build it. This had the effect of skipping over the lazily-built predicate method when the missing accessor is for a boolean. Of course, I realize this all is a bit contrived as most of the time folks aren't assigning these values manually to stripe objects. However, in my testing it caught me by surprised that the behavior is asymmetric depending on how and when values are assigned. As such I believe this is a less surprising implementation.