cq-spree-api-client 0.0.6 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c67ab7a011784ef3f51de575b2e5eb6a8cc405453b813b260b7ce8fcac4d7db3
4
- data.tar.gz: c36fc17208636a5f272f8d4ef80de9fab7cb0e403d9924b952ff8eba870444e2
3
+ metadata.gz: adc2034b92fe12a523e4ed07f3b893f05429b9790373d10190f20c510abcfbca
4
+ data.tar.gz: 89fba6baf2d99113fdf6dd2ed2991afbf2a9a6a31a8a3c3e1d23f4ad3b224a1c
5
5
  SHA512:
6
- metadata.gz: 8dfd58565d6b6fa51c5340d2fba38147f2c4d5b5e7d15978be0faec21a4c2b7b93b6f4c25a48fcb0fa26d6c9978c7b5b3a596605efdb816aa56c407cf93cb3da
7
- data.tar.gz: 532a0c1b42ab2487c71e849d727be5857cc4162a882b195fedaeecb0b0948d4e46a2ae5a62fd0602fc8c310eda056eeb84c0c8aa8595e7788836b5ea5efb175d
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
@@ -1,7 +1,7 @@
1
1
  module Spree
2
2
  module API
3
3
  class Client
4
- VERSION = "0.0.6"
4
+ VERSION = "0.0.9"
5
5
  end
6
6
  end
7
7
  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.6
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-07 00:00:00.000000000 Z
11
+ date: 2019-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hashie