tagalys 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/tagalys.rb +14 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: edd123d806a0f779666bc68b802d39cfe52302f5
4
- data.tar.gz: cb7cc44fa17ca389b838dc3ab30085944313f61e
3
+ metadata.gz: 6cbdcbeeb64bc33f6a87b86e989536fa5179b046
4
+ data.tar.gz: a722cd629492e59a8f3eb2e280bc1ce661563459
5
5
  SHA512:
6
- metadata.gz: 6c471d89d92ac531d7ee39627a694c8239f2d83fb20656bc1188c2fd1513fbafcdff18ef941e45b91636011791065fe883f7c119f54d61f7206b978b71b34c64
7
- data.tar.gz: b900680a514f96a5d12bb2d443f739ac3b38f47afd41eeef2864af09be6ee66f13b7a7d1334224d01b084516d0704f6084aac722a61454d81bdd13b7b05db7bd
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,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tagalys
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anbazhagan Palani