beyond_api 0.5.0.pre → 0.5.1.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +1 -1
- data/lib/beyond_api/resources/variations/availability.rb +1 -1
- data/lib/beyond_api/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b482e3ba36e154ce480dbc1a7ac833456f73e14b3b1f033c4a8af702793c16d4
|
4
|
+
data.tar.gz: 6ef513a870018c2fc11fd9f21779fb48057179a45ba9d3cb78d5bd609f4452fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a5247f113f75d39102103cf411c7cbc4370083d1b7c456d07cfe48d846bd91229557e997999e150db5e1bc5f30654f449e67de40d7b9a9ea72765d5863e0a7b
|
7
|
+
data.tar.gz: fdd24ad0101b5da1af79993fe75992b06bd2703b57ff1f3d5646fbf29017d629331d97560adc11bf79663b8c788325e083b28e2579764675fd74f5787acac017
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -26,7 +26,7 @@ module BeyondApi
|
|
26
26
|
# @availability = session.variations.adjust_stock_level(product_id, variation_id, { relativeAmount => -1 })
|
27
27
|
#
|
28
28
|
def adjust_stock_level(product_id, variation_id, body)
|
29
|
-
response, status = BeyondApi::Request.post(@session, "/products/#{product_id}/variations/#{variation_id}/availability/
|
29
|
+
response, status = BeyondApi::Request.post(@session, "/products/#{product_id}/variations/#{variation_id}/availability/adjust-available-stock", body)
|
30
30
|
|
31
31
|
handle_response(response, status)
|
32
32
|
end
|
data/lib/beyond_api/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beyond_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1.pre
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Unai Abrisketa
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2019-
|
13
|
+
date: 2019-12-03 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|
@@ -187,7 +187,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
187
187
|
- !ruby/object:Gem::Version
|
188
188
|
version: 1.3.1
|
189
189
|
requirements: []
|
190
|
-
rubygems_version: 3.0.
|
190
|
+
rubygems_version: 3.0.1
|
191
191
|
signing_key:
|
192
192
|
specification_version: 4
|
193
193
|
summary: Ruby client to access the Beyond API
|