tagalys 0.1.1 → 0.1.2

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 +4 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c2e72df51daa269cd33b10d8fa008201c3a16080be3af3b416bcc0a8f7cd2600
4
- data.tar.gz: 5164f8d5e0570a38471e7249ecc0ec223d2b8933aebcc6be4ec5986e4114f189
3
+ metadata.gz: 4d43b3139366fad6c431d5e4770d0cb86e115557bc6a8e89c8c0b5911c635b77
4
+ data.tar.gz: 54031a88a5acca3a38a54099990e29da45aeaba3ebcc221b0f84c6a0df25cc1d
5
5
  SHA512:
6
- metadata.gz: 79db5d9ce01f147f80a7e89777dcde9bfd126834573afa0a432a74c443270b27d89c54699fda406ed3c4775fbbc8c8b1cbcba01d2fa165d7e48f0176c1d7df70
7
- data.tar.gz: 233f2a30a3135367643959ce43251dfdaf45e3b516a42b210a72953af0bb28c4d4243af3cc75baa72224f1f117a8be0e4bf90252bacd946b361ad5d719b3f418
6
+ metadata.gz: ddb4af04d4c26776f20427162142421c374056e059911658231ec48ac98705c15c1fff30f0268b30376534523cb8fdb2cce7f8d2cc73865ea481790069252c70
7
+ data.tar.gz: '078c644c706de608bdde398cf1cb8b42c2a4524121766219a8eb235b065cec6514dcc6d88f7d157ffc303b77344d385dbd0fdd8091e9e6049f016b6f90506a28'
data/lib/tagalys.rb CHANGED
@@ -39,7 +39,7 @@ module Tagalys
39
39
  search_response = request_tagalys('/search', request_body)
40
40
  end
41
41
 
42
- def get_page_details(page_name)
42
+ def get_page_details(page_name, page=1, per_page=30)
43
43
  request_body = {
44
44
  identification: identification,
45
45
  request: [
@@ -48,7 +48,9 @@ module Tagalys
48
48
  "details",
49
49
  "sort_options",
50
50
  "filters"
51
- ]
51
+ ],
52
+ page: page,
53
+ per_page: per_page
52
54
  }.compact
53
55
  search_response = request_tagalys('/mpages/' + page_name, request_body)
54
56
  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.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anbazhagan Palani