Compare commits

...

2 Commits

Author SHA1 Message Date
Annie Li
2aa669722a Merge branch 'anniel-deprecate-save' of github.com:stripe/stripe-ruby into anniel-deprecate-save 2022-10-19 16:04:43 -07:00
Annie Li
f300f357ee Deprecate save method 2022-10-19 16:03:16 -07:00

View File

@ -52,7 +52,7 @@ module Stripe
# {APIOperations::Request.execute_resource_request}. # {APIOperations::Request.execute_resource_request}.
# #
# This method is DEPRECATED and for backwards compatibility only. # This method is DEPRECATED and for backwards compatibility only.
# Use update or create instead. # Use the update method with the resource ID instead.
def save(params = {}, opts = {}) def save(params = {}, opts = {})
# We started unintentionally (sort of) allowing attributes sent to # We started unintentionally (sort of) allowing attributes sent to
# +save+ to override values used during the update. So as not to break # +save+ to override values used during the update. So as not to break