gengo 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/gengo-ruby/api_handler.rb +1 -1
- data/lib/gengo-ruby/gengo_exception.rb +0 -2
- metadata +2 -2
@@ -365,7 +365,7 @@ module Gengo
|
|
365
365
|
# <tt>id</tt> - The ID of the translation job you're getting revisions from.
|
366
366
|
# <tt>rev_id</tt> - The ID of the revision you're looking up.
|
367
367
|
def getTranslationJobRevision(params = {})
|
368
|
-
self.get_from_gengo('translate/job/:id/
|
368
|
+
self.get_from_gengo('translate/job/:id/revision/:revision_id'.gsub(':id', params.delete(:id).to_s).gsub(':revision_id', params.delete(:rev_id).to_s), params)
|
369
369
|
end
|
370
370
|
|
371
371
|
# Returns a preview image for a job.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gengo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2013-09-
|
15
|
+
date: 2013-09-24 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: json
|