ruby-jet 0.11.2 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/jet/client/products.rb +4 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b537bc6d59699593a8a05cf6271c13c8e88f6140
4
- data.tar.gz: 27243d9c4f310b1ddae2ba7f39b382898e9929ea
3
+ metadata.gz: bcea8da204c0c801c80d511a1dba6e3b7d31ca38
4
+ data.tar.gz: 7dd0408a4025d0d2188e81fa599a0b1560be83fd
5
5
  SHA512:
6
- metadata.gz: ace874194e3d5fa9536390c5a6c929f6f85bfd1e47a793a6c20cbf175fa08c2eb67490439b86fc6038638df93726c507d84f3a361d9713c56ff10d39855c2335
7
- data.tar.gz: 81e51eb8c3c11b63164dbf3056282a71993b88381b7b897489844dce053c476f0e9845dc880098269278e7fb45ee6339570add04988f5d6e94e3d647b37dd9e2
6
+ metadata.gz: aee182d1b76da22241ea7e75398183449afcde5e3d32127a21ccba84818264637c94497a173a76bdfe0e5eb6d74eaa5b7d76cb30940ea4d8135543735041c213
7
+ data.tar.gz: 0f3e1681225d6ff463458efb8c0f57ae3dae7740be24b1e2bfa1825992796bd93a6e9fe6a93012e9d519c4b2df5fb6f2c61037f33325818072f30a2fe25b0148
@@ -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.11.2
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@iserveproducts.com
44
+ - jason@iserve.com
45
45
  executables: []
46
46
  extensions: []
47
47
  extra_rdoc_files: []