We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e8408d commit c695fdcCopy full SHA for c695fdc
lib/beyond_api/resources/product_attribute_definitions.rb
@@ -14,9 +14,9 @@ class ProductAttributeDefinitions < Base
14
#
15
# @beyond_api.scopes +prad:r+
16
17
- # @option param [Boolean] :paginated
18
- # @option param [Integer] :size the page size
19
- # @option param [Integer] :page the page number
+ # @option params [Boolean] :paginated
+ # @option params [Integer] :size the page size
+ # @option params [Integer] :page the page number
20
21
# @return [OpenStruct]
22
@@ -32,6 +32,7 @@ def all(params = {})
32
end
33
34
result.is_a?(Hash) ? result.delete(:page) : result.delete_field(:page)
35
+
36
result
37
else
38
all_paginated(params)
0 commit comments