vendasta-ri 0.0.9 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vendasta/ri/version.rb +1 -1
- data/lib/vendasta/ri.rb +2 -2
- 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: ec3416e89343f3cb2619863c09c91ae3b387bf4d
|
4
|
+
data.tar.gz: 9ca5621b21aaf59153016c1474102806dd0ceaa0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48264b444817d50ccf690e0609a83114f257a3fcb2b82f91c3871c2067c07a30b3c2c689a38fce0e93ce796071da0c39ce533454bed90e01b64a476dadd93087
|
7
|
+
data.tar.gz: 13f4eb48c0cdce71e70f2c7956047affa6f68d004ae4e314898c13cb4018f9528ee5f6f66a6c6f4fb0839706f4b8a1be6668ce9ac2838eb739c780ab81b4ea21
|
data/lib/vendasta/ri/version.rb
CHANGED
data/lib/vendasta/ri.rb
CHANGED
@@ -135,8 +135,8 @@ module Vendasta
|
|
135
135
|
end
|
136
136
|
end
|
137
137
|
|
138
|
-
def self.searchMentionsType(customerIdentifier, type) # Search Mentions by type
|
139
|
-
response = HTTParty.get("#{OPTIONS[:endpoint]}/mention/search/", :query => {:apiUser => ENV["VENDASTA_RI_APIUSER"], :apiKey => ENV["VENDASTA_RI_APIKEY"], :customerIdentifier => customerIdentifier, :type => type})
|
138
|
+
def self.searchMentionsType(customerIdentifier, type, pageSize) # Search Mentions by type
|
139
|
+
response = HTTParty.get("#{OPTIONS[:endpoint]}/mention/search/", :query => {:apiUser => ENV["VENDASTA_RI_APIUSER"], :apiKey => ENV["VENDASTA_RI_APIKEY"], :customerIdentifier => customerIdentifier, :type => type, :pageSize => pageSize})
|
140
140
|
|
141
141
|
if response.success?
|
142
142
|
response = JSON.parse(response.body)
|