tagalys 0.1.2 → 0.1.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 +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14c0ed3c8c3432b54c79b55c43db59e7e02d6fc235e96a2ea51b1e72e9f0c714
|
4
|
+
data.tar.gz: 6eaa6ee3fe3d660888e03e188498974bb9ab78cf6787392337db36d1f1a70d0e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff1033e812c65effdf5a42a9eb6ae62342154c12f991946f0b3a4c32fd61c62287ed0b9161e898d08194d4c0136329159abf1111bc22165d07e13e16d03aee3a
|
7
|
+
data.tar.gz: 0a993a1ae8a57cb3889f84a3364c28255a966a3a3f75efa5bdd0f089bb6b4c30b50d63cbcdbdbbe8583a2d31947b02d21fd6ad8ba9ea9f15799633d661ecc1be
|
data/lib/tagalys.rb
CHANGED
@@ -21,7 +21,7 @@ module Tagalys
|
|
21
21
|
|
22
22
|
def search(query=nil, filters=nil, page=1, per_page=30)
|
23
23
|
return { status: "Either query or filter should be present" } if query == nil && filters == nil
|
24
|
-
return { status: "Filter should be a hash" } if filters && filters.class != Hash
|
24
|
+
# return { status: "Filter should be a hash" } if filters && filters.class != Hash
|
25
25
|
request_body = {
|
26
26
|
identification: identification,
|
27
27
|
q: query.strip.length > 0 ? query : nil,
|