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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9f5722d39666c38bb6841935cb63bd8da7d2df05e511b83091f000f7733385ab
4
- data.tar.gz: 6e2a20dc312c23b53ba5b8bce7cb43ac19ac1e821cbf04a9ba98aa7316838f22
3
+ metadata.gz: b482e3ba36e154ce480dbc1a7ac833456f73e14b3b1f033c4a8af702793c16d4
4
+ data.tar.gz: 6ef513a870018c2fc11fd9f21779fb48057179a45ba9d3cb78d5bd609f4452fb
5
5
  SHA512:
6
- metadata.gz: bb2dd3dd349cc524ba03258c92bb21798fc47a72d164791acde044afb113480f2799823eea1491f8c903ef6e81c408630330e554a8e79fc3b1163b04358406b4
7
- data.tar.gz: 691bb06fdf8bb6d7e25dd46054ee41d0f66cac08356ce2bb36ccc368f3e55092f1967b8cee9ac6596f7dfe8b2a98cd07f653d58feb26e5216f791d32dc530788
6
+ metadata.gz: 1a5247f113f75d39102103cf411c7cbc4370083d1b7c456d07cfe48d846bd91229557e997999e150db5e1bc5f30654f449e67de40d7b9a9ea72765d5863e0a7b
7
+ data.tar.gz: fdd24ad0101b5da1af79993fe75992b06bd2703b57ff1f3d5646fbf29017d629331d97560adc11bf79663b8c788325e083b28e2579764675fd74f5787acac017
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ### v0.5.1.pre
2
+
3
+ * bug-fixes
4
+ * Fix `adjust_stock_level` method
5
+
1
6
  ### v0.5.0.pre
2
7
 
3
8
  * bug-fixes
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- beyond_api (0.5.0.pre)
4
+ beyond_api (0.5.1.pre)
5
5
  faraday (~> 0.15)
6
6
 
7
7
  GEM
@@ -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/enable-stock-management", body)
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
@@ -1,3 +1,3 @@
1
1
  module BeyondApi
2
- VERSION = "0.5.0.pre".freeze
2
+ VERSION = "0.5.1.pre".freeze
3
3
  end
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.0.pre
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-11-28 00:00:00.000000000 Z
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.3
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