cq-spree-api-client 0.0.6 → 0.0.9
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/lib/spree-api-client/shipments.rb +8 -0
- data/lib/spree-api-client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: adc2034b92fe12a523e4ed07f3b893f05429b9790373d10190f20c510abcfbca
|
4
|
+
data.tar.gz: 89fba6baf2d99113fdf6dd2ed2991afbf2a9a6a31a8a3c3e1d23f4ad3b224a1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c93b72f17888c5ce8dac013ccd9cc16c87c9b9c2f235f193788fee7afbaf3aa86c3a73bc4d1f76aa4faad3225a6ed11b4a7903889e7d0f106615f04923df755
|
7
|
+
data.tar.gz: fb85f39e723c91a6af7ad6b18c14a25079b4db5d33c80aaf2e966d0d213a60355f8ef5e63ab9eb775872ef67b8678870dfb3eadba2f06ac7cd659dbb7a939c52
|
@@ -2,6 +2,14 @@ module Spree
|
|
2
2
|
module API
|
3
3
|
class Client
|
4
4
|
module Shipments
|
5
|
+
def shipments(options={})
|
6
|
+
get("shipments", options)['shipments']
|
7
|
+
end
|
8
|
+
|
9
|
+
def update_shipment(shipment_id, options={})
|
10
|
+
put("shipments/#{shipment_id}", options)
|
11
|
+
end
|
12
|
+
|
5
13
|
def shipment_ready(shipment_id, options={})
|
6
14
|
put("shipments/#{shipment_id}/ready", options)
|
7
15
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cq-spree-api-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fabian Oudhaarlem
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-10-
|
11
|
+
date: 2019-10-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hashie
|