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 +4 -4
- data/lib/plenty_client/item/variation/stock.rb +2 -2
- data/lib/plenty_client/version.rb +1 -1
- 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: eb010c2d8eea674495b4be5eb1ce7e102a8858b7
|
4
|
+
data.tar.gz: d841c52fbed4b6179cfd5f5a51886dd3b8fba67b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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}#{
|
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}#{
|
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
|
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.
|
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-
|
11
|
+
date: 2017-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|