-
Notifications
You must be signed in to change notification settings - Fork 552
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Passing a frozen hash as opts raise FrozenError: can't modify frozen Hash #984
Comments
Hi @louim. Thanks for the report! This is happening due to the Most calls use this method internally to make requests, so I think other types of operations have the same issue here. Looking into potential holistic fixes to make sure we handle this. |
#985 should fix this - please re-open if you're still experiencing issues. Thanks! |
Thanks for the quick fix, @dcr-stripe! Do you have a release policy for the gem? I'm wondering when a new version including this fix would be released. |
Hi @louim - we've just released a new version (https://github.com/stripe/stripe-ruby/releases/tag/v5.35.0) which should include the patch. Thanks! |
Passing a frozen hash to
opts
raisesFrozenError: can't modify frozen Hash
when callingStripe::Customer.list
.However:
Works as expected.
I have not tested all types of operations, maybe there are others that have the same problem.
Using:
The text was updated successfully, but these errors were encountered: