This is a Ruby client library for a payments HTTP API. API responses are turned into StripeObject instances via construct_from, and each object gets its attribute readers and writers defined dynamically on its own singleton class from the response keys. APIResource subclasses perform the requests, Util converts nested hashes into nested objects, and callers read attributes, update objects, and sometimes keep returned objects around in caches or other stores.
What the team is seeing
incident log
Our app tries to store customer records returned by the payments API in a shared cache, and saving them fails with a crash. Simple values we put in the cache work fine, but these API record objects cannot be saved.
Acceptance checks 1
Check 1
Discussion is locked — log in and complete this problem to join the discussion and rate your experience.