tagalys 0.0.8 → 0.0.9
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 +14 -0
- 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: 6cbdcbeeb64bc33f6a87b86e989536fa5179b046
|
4
|
+
data.tar.gz: a722cd629492e59a8f3eb2e280bc1ce661563459
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0bbeba4c89d1e68d7b2006330d12d4d6a4dc5ceee65553553391cfc5a38b99e34fde49d5dc8e57149e473b057ded2cf45d4d547d0e1ca35b547ce2c960f1b50
|
7
|
+
data.tar.gz: 4abb58ed8e6eaf428960f55a8e60dd21ff9b205a0f84576384e5b7b7e3c168175f3817c49449615fe119aa0489c0d2e721622fdbb00699619102c3d354437336
|
data/lib/tagalys.rb
CHANGED
@@ -37,6 +37,20 @@ module Tagalys
|
|
37
37
|
search_response = request_tagalys('/search', request_body)
|
38
38
|
end
|
39
39
|
|
40
|
+
def get_page_details(page_name)
|
41
|
+
request_body = {
|
42
|
+
identification: identification,
|
43
|
+
request: [
|
44
|
+
"total",
|
45
|
+
"results",
|
46
|
+
"details",
|
47
|
+
"sort_options",
|
48
|
+
"filters"
|
49
|
+
]
|
50
|
+
}.compact
|
51
|
+
search_response = request_tagalys('/mpages/' + page_name, request_body)
|
52
|
+
end
|
53
|
+
|
40
54
|
def create_store(currencies, fields, tag_sets, sort_options)
|
41
55
|
request_body = {
|
42
56
|
identification: identification,
|