mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-11-28 00:02:45 -05:00
Adds a special helper to `StripeObject` that helps a developer to determine whether or not an object is deleted. As described originally in #257, this is a bit of a special case because a non-deleted object does not respond with `deleted` as part of its representation, so while a deleted object would have this accessor available automatically, non-deleted objects would not. This made use of the SDK awkward because the presence of the method was not guaranteed. Fixes #257 (again, heh).