mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-09-22 00:00:31 -04:00
If a StripeObject is being deserialized by psych, @values.has_key? is called before @values is initialized which prevents proper deserialization from occurring. Checking for existence first resolves the issue.