cq-spree-api-client 0.0.9 → 0.0.10

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: adc2034b92fe12a523e4ed07f3b893f05429b9790373d10190f20c510abcfbca
4
- data.tar.gz: 89fba6baf2d99113fdf6dd2ed2991afbf2a9a6a31a8a3c3e1d23f4ad3b224a1c
3
+ metadata.gz: 821249ed52c703d5b85a8f34bb8ad55bd076846b0ebea26a8c3d026aba668072
4
+ data.tar.gz: 234ae7c0dd35f60703d75dd086410146352331681bfbba58f10f99d423154a5d
5
5
  SHA512:
6
- metadata.gz: 2c93b72f17888c5ce8dac013ccd9cc16c87c9b9c2f235f193788fee7afbaf3aa86c3a73bc4d1f76aa4faad3225a6ed11b4a7903889e7d0f106615f04923df755
7
- data.tar.gz: fb85f39e723c91a6af7ad6b18c14a25079b4db5d33c80aaf2e966d0d213a60355f8ef5e63ab9eb775872ef67b8678870dfb3eadba2f06ac7cd659dbb7a939c52
6
+ metadata.gz: 1c3bf126136c5585e4a8f7f7e1bf81cdedab298c03cfe5bb5278165532a772bc604619f393bffbdb66d5313a6dba78474b7501777617800a531c2a24f834299e
7
+ data.tar.gz: d6085cc80948810abf3128cf9945e791b48c99aa0f5c3c53faba8f65d6e73cff03ffbe079ad46ef08f6f8802dcdeae405c8e386cfab838ed39e2c1a955fe9cc0
@@ -10,6 +10,10 @@ module Spree
10
10
  get("products/#{permalink_or_id}", options)
11
11
  end
12
12
 
13
+ def product_by_sku(options={})
14
+ get("products/find_by_sku", options)
15
+ end
16
+
13
17
  def new_product(options={})
14
18
  get("products/#{permalink_or_id}/new", options)
15
19
  end
@@ -1,7 +1,7 @@
1
1
  module Spree
2
2
  module API
3
3
  class Client
4
- VERSION = "0.0.9"
4
+ VERSION = "0.0.10"
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.9
4
+ version: 0.0.10
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-08 00:00:00.000000000 Z
11
+ date: 2019-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hashie