beyond_api 0.22.2.pre → 0.23.0.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: 06a1046cb7637b192f79fca4be07b902cf3045963b3f978062a8fd84944284e0
4
- data.tar.gz: c8aacd61559f7fe51597e4e63b0172aaddf84bed4fb01f5831961fb602f4c7e0
3
+ metadata.gz: 88d9a67d129db14679f16fd1728f729befc0c1f835da84004a7ae6b372747d74
4
+ data.tar.gz: 6f94b54fdc048cb9e4c9eddb4d19cb5376891d9e04d663b4e9fc8c6139de16f7
5
5
  SHA512:
6
- metadata.gz: b7e4d641196968088a2954559271e4cf12c15b1afe3938a54a9f57e9612ec8ba59b4f842fc8abd74b7e356c24b4ee4255c8878b856ab0afafc2c86c4f8c0bd46
7
- data.tar.gz: 6cb10e858271f8f87bb6a77e370cf3ff096aee683f57817acb653228c86b132a3db2d3eebf7633dcf5f0bb18c8d0230e84d196a19b8fe6d9dbc3ba607ad9a248
6
+ metadata.gz: 621abe68a32f9cffc620b3af736b108d8e7ffe05c06be660216d8e1adb55f3695fde69be2324d52454f3f11593c98d2191f62df437df009bb536416c2809d16b
7
+ data.tar.gz: 5d9e908136b7ad10760379b5f12078e9d11bd7d8d58b65cc12d8ccb5161ea10a2be816f161356d00f4881a81831f7630bdc56175101ba7458ead3e3a5b86bd34
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ### v0.23.0.pre
2
+
3
+ * feature
4
+ * Add optional `paginated: false` parameter to `session.categories_view.products(paginated: false)`
5
+
1
6
  ### v0.22.1.pre
2
7
 
3
8
  * enhancements
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- beyond_api (0.22.2.pre)
4
+ beyond_api (0.23.0.pre)
5
5
  faraday (~> 1.9.0)
6
6
 
7
7
  GEM
@@ -65,11 +65,9 @@ module BeyondApi
65
65
  # @products = session.categories_view.products("681beef2-cd3e-4ce3-8034-4d07c1184447", { size: 100, page: 0 })
66
66
  #
67
67
  def products(category_id, params = {})
68
- response, status = BeyondApi::Request.get(@session,
69
- "/product-view/categories/#{category_id}/products",
70
- params)
68
+ path = "/product-view/categories/#{category_id}/products"
71
69
 
72
- handle_response(response, status)
70
+ handle_all_request(path, :products, params)
73
71
  end
74
72
 
75
73
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BeyondApi
4
- VERSION = "0.22.2.pre"
4
+ VERSION = "0.23.0.pre"
5
5
  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.22.2.pre
4
+ version: 0.23.0.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Unai Abrisketa
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: exe
13
13
  cert_chain: []
14
- date: 2023-04-21 00:00:00.000000000 Z
14
+ date: 2023-05-25 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler