lib/phrase/api/bitbucket_sync_api.rb in phrase-1.0.1 vs lib/phrase/api/bitbucket_sync_api.rb in phrase-1.0.2
- old
+ new
@@ -87,20 +87,20 @@
# @param bitbucket_sync_import_parameters [BitbucketSyncImportParameters]
# @param [Hash] opts the optional parameters
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
# @return [nil]
def bitbucket_sync_import(id, bitbucket_sync_import_parameters, opts = {})
- bitbucket_sync_import_with_http_info(id, bitbucket_sync_import_parameters, opts)
- nil
+ data, _status_code, _headers = bitbucket_sync_import_with_http_info(id, bitbucket_sync_import_parameters, opts)
+ data
end
# Import to Phrase from Bitbucket
# Import translations from Bitbucket to Phrase according to the .phraseapp.yml file within the Bitbucket repository.
# @param id [String] ID
# @param bitbucket_sync_import_parameters [BitbucketSyncImportParameters]
# @param [Hash] opts the optional parameters
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
- # @return [Array<(Response<(nil)>, Integer, Hash)>] Response<(nil, response status code and response headers
+ # @return [Array<(Response, Integer, Hash)>] Response<(nil, response status code and response headers
def bitbucket_sync_import_with_http_info(id, bitbucket_sync_import_parameters, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: BitbucketSyncApi.bitbucket_sync_import ...'
end
# verify the required parameter 'id' is set