lib/ruby-lokalise-api/rest/files.rb in ruby-lokalise-api-4.1.0 vs lib/ruby-lokalise-api/rest/files.rb in ruby-lokalise-api-4.2.0
- old
+ new
@@ -20,10 +20,11 @@
# @param params [Hash]
def download_files(project_id, params)
c_r Lokalise::Resources::File, :download, [project_id, 'download'], params
end
- # Imports translation file to the given project. File data must base64-encoded
+ # Imports translation file to the given project. File data must base64-encoded.
+ # To encode your data in Base64, use `Base64.strict_encode64()` method.
#
# @see https://app.lokalise.com/api2docs/curl/#transition-upload-a-file-post
# @return [Hash]
# @param project_id [String]
# @param params [Hash]