wc-api-ruby
wc-api-ruby copied to clipboard
A Ruby wrapper for the WooCommerce API.
The obsolete method `URI.encode` is used in the code which is throwing the error while using the gem with the latest Ruby versions e.g. `ruby 3.1.1p18 (2022-02-18 revision 53f5fc4236) [x86_64-linux]`....
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...
Hi there. It would be nicce to use your lib also with ruby 3. Can you check these changes and take this pull request? Thanks in advance. Kind regards Steve
Description: I have a condition where I wanted to use proxy to call woo commerce APIs. I went thru the open/closed issues but I could not get anything related to...
Bumps [httparty](https://github.com/jnunemaker/httparty) from 0.14.0 to 0.21.0. Changelog Sourced from httparty's changelog. 0.21.0 escape filename in the multipart/form-data Content-Disposition header Fix request marshaling Replace mime-types with mini_mime 0.20.0 Breaking changes Require...
In the [REST API Documentation](http://woocommerce.github.io/woocommerce-rest-api-docs/) under [Authentication over HTTPS](http://woocommerce.github.io/woocommerce-rest-api-docs/?ruby#authentication-over-https), the sample code given for ruby is: ```ruby require "woocommerce_api" woocommerce = WooCommerce::API.new( "https://example.com", "consumer_key", "consumer_secret", { wp_json: true, version: "wc/v3"...
Hello, I try with the following and I get no errors ```ruby @wc_api_client.put("coupons/42", { meta_data: [{ key: "email", value: "[email protected]" }] }) ``` but then nothing changes on the Coupon...
``` irb(main):038:0> tmp.parsed_response["product_categories"].map{|x| "#{x["id"]} #{x["description"]}" } => ["15 ", "34 ", "31 ", "33 ", "32 ", "35 ", "36 ", "37 All kinds of clothes.", "38 "] irb(main):039:0> tmp...
With ruby 2.7 we receive many different deprecation warnings, and indeed recent version of ruby were broken in CI. I have: - converted `URI.encode` to `URI.encode_www_form` since it has been...
Bumps [json](https://github.com/flori/json) from 2.0.2 to 2.3.0. Changelog Sourced from json's changelog. 2019-12-11 (2.3.0) Fix default of create_additions to always be false for JSON(user_input) and JSON.parse(user_input, nil). Note that JSON.load remains...