Skip to content

Commit c695fdc

Browse files
author
unabris
committed
Fix typo
1 parent 1e8408d commit c695fdc

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lib/beyond_api/resources/product_attribute_definitions.rb

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ class ProductAttributeDefinitions < Base
1414
#
1515
# @beyond_api.scopes +prad:r+
1616
#
17-
# @option param [Boolean] :paginated
18-
# @option param [Integer] :size the page size
19-
# @option param [Integer] :page the page number
17+
# @option params [Boolean] :paginated
18+
# @option params [Integer] :size the page size
19+
# @option params [Integer] :page the page number
2020
#
2121
# @return [OpenStruct]
2222
#
@@ -32,6 +32,7 @@ def all(params = {})
3232
end
3333

3434
result.is_a?(Hash) ? result.delete(:page) : result.delete_field(:page)
35+
3536
result
3637
else
3738
all_paginated(params)

0 commit comments

Comments
 (0)