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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c6756113992e03902fab5d1a72b8c199596bb4f9
4
- data.tar.gz: 296d197fc13d1215df42de9b388205bcf8f5e813
3
+ metadata.gz: ec3416e89343f3cb2619863c09c91ae3b387bf4d
4
+ data.tar.gz: 9ca5621b21aaf59153016c1474102806dd0ceaa0
5
5
  SHA512:
6
- metadata.gz: 3828243106dc99006cf482f79c154c514fa93cfa71c96122050d8c2975fbdfc683da5ee705475fe2fef583fd16a0d7e7928d19f0cdee04ce0692aa2155b2e934
7
- data.tar.gz: 7e0dbd10f9fd1b5fd886471ece12cc8c328b3bc458ac6d3300ac49114d6c655c3dbac3c6c13a15e00119f915ee0c95fb10b74a7de4f3f488b41b7d66b5335214
6
+ metadata.gz: 48264b444817d50ccf690e0609a83114f257a3fcb2b82f91c3871c2067c07a30b3c2c689a38fce0e93ce796071da0c39ce533454bed90e01b64a476dadd93087
7
+ data.tar.gz: 13f4eb48c0cdce71e70f2c7956047affa6f68d004ae4e314898c13cb4018f9528ee5f6f66a6c6f4fb0839706f4b8a1be6668ce9ac2838eb739c780ab81b4ea21
@@ -1,5 +1,5 @@
1
1
  module Vendasta
2
2
  module Ri
3
- VERSION = "0.0.9"
3
+ VERSION = "0.1.0"
4
4
  end
5
5
  end
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)
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.9
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Vera