shopify_api_bruv 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/shopify_api_bruv/resources/rest/resource.rb +3 -1
- data/lib/shopify_api_bruv/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e1b6f7e063b556eb6732016cdd66426705db2f53fd9bc9844018f6b7ff93010d
|
4
|
+
data.tar.gz: a20c065d815f4beb997b0420cdee16b905ffcb919f22f97fa21ede0a39bc26f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a1093b27403f929bbf6a2026c77fd3cd374f21582d4fc2d36f6c53e9789560dcfeaa3c9c6811e911949802b5a029a3bd036176ac7e55e1aaca6a22709a9259d
|
7
|
+
data.tar.gz: f016c5a2ef65da06fbb524a096839194c1812b1d234564bc2142f9f7e399a2604b8c2a96eb3483e49361885b1dadaa83e4596c3ecea74e194bfb6332bbe68fce
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -36,7 +36,9 @@ module ShopifyApiBruv
|
|
36
36
|
def handle_response(response:)
|
37
37
|
handle_response_api_limits(headers: response.headers)
|
38
38
|
|
39
|
-
response.body
|
39
|
+
body = response.body
|
40
|
+
body['page_info'] = response.page_info if body.is_a?(Hash)
|
41
|
+
body
|
40
42
|
end
|
41
43
|
|
42
44
|
def handle_response_api_limits(headers:)
|