crowdin-api 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/crowdin-api/methods.rb +1 -1
- data/lib/crowdin-api/version.rb +1 -1
- metadata +1 -1
data/lib/crowdin-api/methods.rb
CHANGED
@@ -58,7 +58,7 @@ module Crowdin
|
|
58
58
|
#
|
59
59
|
# POST http://api.crowdin.net/api/project/{project-identifier}/update-file?key={project-key}
|
60
60
|
#
|
61
|
-
def update_file(files)
|
61
|
+
def update_file(files, params = {})
|
62
62
|
files = Hash[files.map{ |f| [
|
63
63
|
f[:dest] || raise(ArgumentError, "'`:dest` is required'"),
|
64
64
|
::File.open(f[:source] || raise(ArgumentError, "'`:source` is required'") )
|
data/lib/crowdin-api/version.rb
CHANGED