woocommerce_api 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -3
- data/lib/woocommerce_api/oauth.rb +1 -1
- data/lib/woocommerce_api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cd290bde8c41792cc2cdd5882833ab4c562fa9d1
|
|
4
|
+
data.tar.gz: 54198808cad5e99f7267e0ed2a839fc87d84e1ca
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 070d7c81734c8ee249ad9ddeb5ee9dd00d63a047262402b88e75d400eef0ac696c43f4b188a855031d6abfb156285f41a0009ebd66cab80f93a9bb94f5a2e2c7
|
|
7
|
+
data.tar.gz: 336bb75d61166e2dac0f040225a145c04c5e6967ef9dcf3cc00e13cd9c95b8ff8e7772d9be7f18a2bd7512f67921e602549b81e9a1859118262514b8908f1000
|
data/README.md
CHANGED
|
@@ -32,7 +32,7 @@ woocommerce = WooCommerce::API.new(
|
|
|
32
32
|
)
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
Setup for the new WP REST API integration:
|
|
35
|
+
Setup for the new WP REST API integration (WooCommerce 2.6 or later):
|
|
36
36
|
|
|
37
37
|
```ruby
|
|
38
38
|
require "woocommerce_api"
|
|
@@ -61,7 +61,7 @@ woocommerce = WooCommerce::API.new(
|
|
|
61
61
|
|
|
62
62
|
| Option | Type | Required | Description |
|
|
63
63
|
|--------------------|----------|----------|--------------------------------------------------------------------------------------------------------------|
|
|
64
|
-
| `wp_api` | `Bool` | no | Allow requests to the WP REST API
|
|
64
|
+
| `wp_api` | `Bool` | no | Allow requests to the WP REST API (WooCommerce 2.6 or later) |
|
|
65
65
|
| `version` | `String` | no | API version, default is `v3` |
|
|
66
66
|
| `verify_ssl` | `Bool` | no | Verify SSL when connect, use this option as `false` when need to test with self-signed certificates |
|
|
67
67
|
| `signature_method` | `String` | no | Signature method used for oAuth requests, works with `HMAC-SHA1` and `HMAC-SHA256`, default is `HMAC-SHA256` |
|
|
@@ -116,7 +116,8 @@ puts response.headers["x-wc-totalpages"] # Total of pages
|
|
|
116
116
|
|
|
117
117
|
## Release History
|
|
118
118
|
|
|
119
|
-
- 2016-
|
|
119
|
+
- 2016-06-26 - 1.2.1 - Fixed oAuth signature for WP REST API.
|
|
120
|
+
- 2016-05-09 - 1.2.0 - Added support for WP REST API and added method to do HTTP OPTIONS requests.
|
|
120
121
|
- 2015-12-07 - 1.1.2 - Stop send `body` in GET and DELETE requests.
|
|
121
122
|
- 2015-12-07 - 1.1.1 - Fixed the encode when have spaces in the URL parameters.
|
|
122
123
|
- 2015-08-27 - 1.1.0 - Added `query` argument for GET and DELETE methods, reduced chance of nonce collisions and added support for urls including ports
|