mygengo 1.2 → 1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mygengo-ruby/api_handler.rb +2 -1
- data/lib/mygengo.rb +1 -1
- metadata +1 -1
@@ -288,7 +288,8 @@ module MyGengo
|
|
288
288
|
# <tt>ids</tt> - An Array of job IDs you want to delete.
|
289
289
|
def deleteTranslationJobs(params = {})
|
290
290
|
if params[:ids] and params[:ids].kind_of?(Array)
|
291
|
-
params[:
|
291
|
+
params[:job_ids] = params[:ids].map { |i| i.to_s() }.join(',')
|
292
|
+
params.delete(:ids)
|
292
293
|
end
|
293
294
|
|
294
295
|
self.send_to_mygengo('translate/jobs', params)
|
data/lib/mygengo.rb
CHANGED