vendasta-ri 0.0.7 → 0.0.8
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: c5d7c091deea5341f1be2471c8c20c5721ce82b7
|
4
|
+
data.tar.gz: 41608aa365d4444397ec9750ccc7024799559f86
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28b26b65189345f2c4004a7aea424eff30c09f0666260642e89eae519d87fca7f8eb6e122235e94eb800cb4d170adffcaa8caaed441b845584d1487f66ea3ae7
|
7
|
+
data.tar.gz: 86cc50faa326209cad7c78b708061da58f513a64352457bd2b72c8f25bca26d57f4d492785a771ec02c37d459fd79841e83d01b2d8c380af4d554c32ada0de52
|
data/lib/vendasta/ri/version.rb
CHANGED
data/lib/vendasta/ri.rb
CHANGED
@@ -101,7 +101,7 @@ module Vendasta
|
|
101
101
|
end
|
102
102
|
|
103
103
|
def self.searchReviews(customerIdentifier) # Search Reviews
|
104
|
-
response = HTTParty.get("#{OPTIONS[:endpoint]}/review/search/", :query => {:apiUser => ENV["VENDASTA_RI_APIUSER"], :apiKey => ENV["VENDASTA_RI_APIKEY"], :customerIdentifier => customerIdentifier})
|
104
|
+
response = HTTParty.get("#{OPTIONS[:endpoint]}/review/search/", :query => {:apiUser => ENV["VENDASTA_RI_APIUSER"], :apiKey => ENV["VENDASTA_RI_APIKEY"], :customerIdentifier => customerIdentifier, :pageSize => '500'})
|
105
105
|
|
106
106
|
if response.success?
|
107
107
|
response = JSON.parse(response.body)
|
@@ -111,7 +111,7 @@ module Vendasta
|
|
111
111
|
end
|
112
112
|
|
113
113
|
def self.getReviewStatistics(customerIdentifier) # Get Review Statistics
|
114
|
-
response = HTTParty.get("#{OPTIONS[:endpoint]}/review/getStats/", :query => {:apiUser => ENV["VENDASTA_RI_APIUSER"], :apiKey => ENV["VENDASTA_RI_APIKEY"], :customerIdentifier => customerIdentifier
|
114
|
+
response = HTTParty.get("#{OPTIONS[:endpoint]}/review/getStats/", :query => {:apiUser => ENV["VENDASTA_RI_APIUSER"], :apiKey => ENV["VENDASTA_RI_APIKEY"], :customerIdentifier => customerIdentifier})
|
115
115
|
|
116
116
|
if response.success?
|
117
117
|
response = JSON.parse(response.body)
|