Skip to content

Commit

Permalink
Update save deprecation message (#1201)
Browse files Browse the repository at this point in the history
* Update save deprecation message

* comma
  • Loading branch information
anniel-stripe committed Mar 29, 2023
1 parent e33a1da commit aa05b84
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/stripe/api_operations/save.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ def save(params = {}, opts = {})
initialize_from(resp.data, opts)
end
extend Gem::Deprecate
deprecate :save, :update, 2022, 11
deprecate :save, "the `update` class method (for examples"\
" see https://github.com/stripe/stripe-ruby"\
"/wiki/Migration-guide-for-v8)", 2022, 11

def self.included(base)
# Set `metadata` as additive so that when it's set directly we remember
Expand Down

0 comments on commit aa05b84

Please sign in to comment.