mygengo 1.2 → 1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -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[:ids] = params[:ids].map { |i| i.to_s() }.join(',')
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)
@@ -11,6 +11,6 @@ module MyGengo
11
11
  SANDBOX_API_HOST = 'api.sandbox.mygengo.com'
12
12
 
13
13
  # Pretty self explanatory.
14
- VERSION = '1.2'
14
+ VERSION = '1.3'
15
15
  end
16
16
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: mygengo
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: "1.2"
5
+ version: "1.3"
6
6
  platform: ruby
7
7
  authors:
8
8
  - Ryan McGrath <ryan@mygengo.com>