tigre-client 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/tigre-client/sample.rb +1 -3
- data/lib/tigre-client/version.rb +1 -1
- metadata +1 -1
data/lib/tigre-client/sample.rb
CHANGED
@@ -249,8 +249,6 @@ module Tigre
|
|
249
249
|
# :samples => String (comma seperated) => I.E 'ce78f201b54e68263f0ddc1b2f8b1b65,d9226e3d5abeef9de15eeabc3c075fb1
|
250
250
|
# :samples => Array => I.E ['ce78f201b54e68263f0ddc1b2f8b1b65','d9226e3d5abeef9de15eeabc3c075fb1']
|
251
251
|
# :callback => The callback URL for when the job is finished
|
252
|
-
# :job_id => A job id so the requestor can handle the post and
|
253
|
-
# know which job they submitted is finished
|
254
252
|
# optional params
|
255
253
|
# hash => Hash
|
256
254
|
# :digest => the digest type of the samples. Defaults to MD5
|
@@ -261,7 +259,7 @@ module Tigre
|
|
261
259
|
end
|
262
260
|
digest = hash[:digest] || 'md5'
|
263
261
|
samples = package_array_list(hash[:samples])
|
264
|
-
Tigre.get_connection("/samples_for_compression?samples=#{samples}&digest=#{digest}&callback=#{hash[:callback]}&
|
262
|
+
Tigre.get_connection("/samples_for_compression?samples=#{samples}&digest=#{digest}&callback=#{hash[:callback]}&password=#{hash[:password]}")
|
265
263
|
end
|
266
264
|
|
267
265
|
end
|
data/lib/tigre-client/version.rb
CHANGED