tagalys 0.1.4 → 0.1.5

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 +11 -6
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6e778249ab70ff53c06e63175e29b74ede0952593c86292fb3817504bdbea944
4
- data.tar.gz: a7467a7d501556d32c9595bede53174f90df61a06147def5677d63370d607c96
3
+ metadata.gz: aca4f34518d061daf5b2df472ec717ca8a393e9fdff3a559893d645d27e9ce3a
4
+ data.tar.gz: 4a690435364ad892ebc8fe6e1858fc1639eafdbf660dd7ffa56e91875456fba4
5
5
  SHA512:
6
- metadata.gz: cd8b095e76532bd4b158b25a336b84116a96bcab72c74696e599bba5ed49e09a6ff0965c8474c3a427eed74a643cfa10b2ebc8d7dfdf83f685e031075255dd53
7
- data.tar.gz: dbb717eb48f0dd52d389c565c3771d8e552f97758d8febf878570f6c2e18158a44b39b422f4bb025df9e8477940bb25f24fc5de5aa46e43d5ed470ee52755297
6
+ metadata.gz: ab9e31992a479a1ef6240efa92a41939b89d21b4ceb5787d8dbd9a7328f34395165c7cd86cf61d60e3c084c71400ce5ee13a4374beb8d17c4d5ab2b1d7f02777
7
+ data.tar.gz: 16308217a6afffae2106737fb73acf54c886ffc3ecd0eaddb5da871af8aa647701a5954ac2dd2cc2d76d4e99a617612ff0393e3a784a9a501d97cff870e18fa1
data/lib/tagalys.rb CHANGED
@@ -34,25 +34,30 @@ module Tagalys
34
34
  "results",
35
35
  "details",
36
36
  "sort_options",
37
- "filters"
37
+ "filters",
38
+ "variables",
39
+ "banners"
38
40
  ]
39
41
  }.compact
40
42
  search_response = request_tagalys('/search', request_body)
41
43
  end
42
44
 
43
- def get_page_details(page_name, sort=nil, page=1, per_page=30)
45
+ def get_page_details(page_name, filters=nil, sort=nil, page=1, per_page=30)
44
46
  request_body = {
45
47
  identification: identification,
46
48
  sort: sort,
49
+ qf: filters,
50
+ page: page,
51
+ per_page: per_page,
47
52
  request: [
48
53
  "total",
49
54
  "results",
50
55
  "details",
51
56
  "sort_options",
52
- "filters"
53
- ],
54
- page: page,
55
- per_page: per_page
57
+ "filters",
58
+ "variables",
59
+ "banners"
60
+ ]
56
61
  }.compact
57
62
  search_response = request_tagalys('/mpages/' + page_name, request_body)
58
63
  end
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.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anbazhagan Palani