aboutyou-sdk 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/lib/aboutyou-sdk/Query.rb +0 -1
- data/lib/aboutyou-sdk/QueryBuilder.rb +1 -3
- data/tests/testProductSearchResult.rb +0 -1
- data/tests/testVariantsByIds.rb +0 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
NGMxY2Q0Y2NjM2Y2OGE0NjljZmU1NmJiNmE2NzhlNjRhNGVkNzA0Mg==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
N2IwNDVjMjkyMTc3NTQwZGRhNDA2N2Y4YTVmNGM0ZTc3OWY0ZTE5Ng==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
NzI2YjBjY2NkZjBiNzQ4YzczNDViZGQ2YTFjOTc3NjllOTIxNTkwMGUzNTQz
|
|
10
|
+
NjkxNDU4NjZhNWM0YTBjYTFmZWRlMjVmNGZiMmU2MmY0NDJkOTQ0MDNhMTg5
|
|
11
|
+
NGVhMWI5YjZmMmY2NDQ1NmZlNGYyMTY1ZDMyM2RjNTdiOWFhNTA=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
MThlMWVkNmZmYWQzMTBiNDM5OTk0NWIzZjRkMzI0YTI1Mjg5ZWI0ZWU4MGM4
|
|
14
|
+
MWQzZDFmZGFjZmFhODk0ZjNhOTY5NDdjNjg5ZDliZmM1ZmU0ZGE4MDMzYjI3
|
|
15
|
+
ZDhmOGNkOTA5Yjg0ODI5OTdkNjM3M2ZmMmRkYTczYTE2YWJkMDA=
|
data/lib/aboutyou-sdk/Query.rb
CHANGED
|
@@ -342,8 +342,7 @@ module AboutYou
|
|
|
342
342
|
def fetchProductSearch(criteria)
|
|
343
343
|
|
|
344
344
|
checkSessionId(criteria.sessionId());
|
|
345
|
-
self.query.push(Hash['product_search' =>
|
|
346
|
-
|
|
345
|
+
self.query.push(Hash['product_search' =>criteria.toArray])
|
|
347
346
|
return self;
|
|
348
347
|
end
|
|
349
348
|
|
|
@@ -361,7 +360,6 @@ module AboutYou
|
|
|
361
360
|
end
|
|
362
361
|
|
|
363
362
|
self.query.push(Hash['facets' => Hash['group_ids' => groupids]])
|
|
364
|
-
binding.pry
|
|
365
363
|
return self;
|
|
366
364
|
end
|
|
367
365
|
|
data/tests/testVariantsByIds.rb
CHANGED