tagalys 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tagalys.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c21e471763b86839dea13102d36b8df8f85e6c5
|
4
|
+
data.tar.gz: 3c0514ab5879b8e976ba03b7a2fb963a531c14be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b211dcfbdbde1b16fcaf882f9668b0482a5cbac31d5f3e5f6cd9d1fe46eada0011b5f36bdba84d1e94363d9b0c6bd11b57d1766c364637f765bbcd77025d7c48
|
7
|
+
data.tar.gz: 07a09d845bf5c40f904e33e6974253fe0ea8d3a654b6ee330251fdeb500e55282ef41914d73b1b3958f1341fc0b0d981d6261931ed69299cf2fa896f01bdd987
|
data/lib/tagalys.rb
CHANGED
@@ -34,11 +34,12 @@ class Tagalys
|
|
34
34
|
end
|
35
35
|
|
36
36
|
def product_sync(link, product_count)
|
37
|
-
{
|
37
|
+
request_body = {
|
38
38
|
identification: identification,
|
39
39
|
link: link,
|
40
40
|
updates_count: product_count
|
41
41
|
}
|
42
|
+
create_response = request_tagalys('/products/sync_feed', request_body)
|
42
43
|
end
|
43
44
|
|
44
45
|
def request_tagalys(path, request_body)
|