ruby-jet 0.11.2 → 0.12.0
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/jet/client/products.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bcea8da204c0c801c80d511a1dba6e3b7d31ca38
|
|
4
|
+
data.tar.gz: 7dd0408a4025d0d2188e81fa599a0b1560be83fd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aee182d1b76da22241ea7e75398183449afcde5e3d32127a21ccba84818264637c94497a173a76bdfe0e5eb6d74eaa5b7d76cb30940ea4d8135543735041c213
|
|
7
|
+
data.tar.gz: 0f3e1681225d6ff463458efb8c0f57ae3dae7740be24b1e2bfa1825992796bd93a6e9fe6a93012e9d519c4b2df5fb6f2c61037f33325818072f30a2fe25b0148
|
data/lib/jet/client/products.rb
CHANGED
|
@@ -26,6 +26,10 @@ module Jet
|
|
|
26
26
|
@client.rest_put_with_token("/merchant-skus/#{merchant_sku}/price", body)
|
|
27
27
|
end
|
|
28
28
|
|
|
29
|
+
def archive_sku(merchant_sku, body = {})
|
|
30
|
+
@client.rest_put_with_token("/merchant-skus/#{merchant_sku}/status/archive", body)
|
|
31
|
+
end
|
|
32
|
+
|
|
29
33
|
def get_price(merchant_sku)
|
|
30
34
|
@client.rest_get_with_token("/merchant-skus/#{merchant_sku}/price")
|
|
31
35
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruby-jet
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.12.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jason Wells
|
|
@@ -41,7 +41,7 @@ dependencies:
|
|
|
41
41
|
description: Jet API service calls implemented in Ruby
|
|
42
42
|
email:
|
|
43
43
|
- flipstock@gmail.com
|
|
44
|
-
- jason@
|
|
44
|
+
- jason@iserve.com
|
|
45
45
|
executables: []
|
|
46
46
|
extensions: []
|
|
47
47
|
extra_rdoc_files: []
|