wc-api-ruby
wc-api-ruby copied to clipboard
URI#encode deprecation
Closes #57
URI, no longer supports encode, so, I am updating it to an existing method (encode_www_form_component).
Source: https://ruby-doc.org/stdlib-3.1.0/libdoc/uri/rdoc/URI.html
Are you facing this issue? #57
You can replace the gem with this:
gem "woocommerce_api",
git: "https://github.com/ricvillagrana/wc-api-ruby.git",
branch: "patch-1"
And then run: bundle update woocommerce_api
Remember to change it back when this PR is merged.
Please include this fix :)