plenty_client 0.0.5 → 0.0.6

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
  SHA1:
3
- metadata.gz: 574a5ae3c92bbeb8b3a23e4e239437d8cfd05b7d
4
- data.tar.gz: b47ee0a43f3f5d994f7cbb6ea20409af4d460af0
3
+ metadata.gz: eb010c2d8eea674495b4be5eb1ce7e102a8858b7
4
+ data.tar.gz: d841c52fbed4b6179cfd5f5a51886dd3b8fba67b
5
5
  SHA512:
6
- metadata.gz: 126d303536c9d39ca19ab0cee90c6a986d494616fe77a3f13107dcf0f6aeaf2766d32559d0ca04123814227c36015c6c7362636c72a0f35ca0d0d838c3ddf09f
7
- data.tar.gz: 5fec7699e2ca87885ca2dc920a5681134ea8de0df84729f7978268c0f763af4448b8ba2e5fd876380908f5a70bb397d0d2b08be4bf8a029808b23603d20f99b9
6
+ metadata.gz: 606bce14518ea588a855af13adbafb2d457a34fac6cba6e03aa9701a09a4903286edb153de24ad985d6ebfcf42cce2601222f6e70099c89b81c96b009640213e
7
+ data.tar.gz: 29fd04970b0c76450e9f32c7364dfd491df7c739d04bebe551b9981842111ff438ea893cea9ec17044645451d44b107cf3369fc21eac31310144131b1b63616e
@@ -40,13 +40,13 @@ module PlentyClient
40
40
  end
41
41
 
42
42
  def update_corrections(item_id, variation_id, body = {})
43
- put(build_endpoint("#{ITEM_VARIATION_STOCK_PATH}#{UPDATE_ITEM_VARIATIONS_STOCK_INCOMING_ITEMS}",
43
+ put(build_endpoint("#{ITEM_VARIATION_STOCK_PATH}#{UPDATE_ITEM_VARIATIONS_STOCK_CORRECTION}",
44
44
  item: item_id,
45
45
  variation: variation_id), body)
46
46
  end
47
47
 
48
48
  def update_rediestributions(item_id, variation_id, body = {})
49
- put(build_endpoint("#{ITEM_VARIATION_STOCK_PATH}#{UPDATE_ITEM_VARIATIONS_STOCK_INCOMING_ITEMS}",
49
+ put(build_endpoint("#{ITEM_VARIATION_STOCK_PATH}#{UPDATE_ITEM_VARIATIONS_STOCK_REDISTRIBUTE}",
50
50
  item: item_id,
51
51
  variation: variation_id), body)
52
52
  end
@@ -1,3 +1,3 @@
1
1
  module PlentyClient
2
- VERSION = '0.0.5'.freeze
2
+ VERSION = '0.0.6'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plenty_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dariusch Ochlast
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-10-07 00:00:00.000000000 Z
11
+ date: 2017-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler