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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: af3d877f2a152b13494ed4b451ed202bd6834ac2
4
- data.tar.gz: 6657ebce398003fb6724543790e9f3821ae20d31
3
+ metadata.gz: c5d7c091deea5341f1be2471c8c20c5721ce82b7
4
+ data.tar.gz: 41608aa365d4444397ec9750ccc7024799559f86
5
5
  SHA512:
6
- metadata.gz: 15739c53e65ef8743855635625b4c0c8d213177ea0115fe9f98a393431e8bc1c33800c302a4d9e896f13fe76ead500ec6809f7f5a2405012f61c031a588c4f92
7
- data.tar.gz: eb14c698d18dc292416c883f52109d91ecd77a4d4adcffd526b2dae8a1553bd8bce481561a6cb51e4f5de2794fe2efdb152cfbb8421d86da11e31122f1bebf61
6
+ metadata.gz: 28b26b65189345f2c4004a7aea424eff30c09f0666260642e89eae519d87fca7f8eb6e122235e94eb800cb4d170adffcaa8caaed441b845584d1487f66ea3ae7
7
+ data.tar.gz: 86cc50faa326209cad7c78b708061da58f513a64352457bd2b72c8f25bca26d57f4d492785a771ec02c37d459fd79841e83d01b2d8c380af4d554c32ada0de52
@@ -1,5 +1,5 @@
1
1
  module Vendasta
2
2
  module Ri
3
- VERSION = "0.0.7"
3
+ VERSION = "0.0.8"
4
4
  end
5
5
  end
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, :pageSize => '500'})
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)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vendasta-ri
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Vera