As discussed in the issue, I went ahead and created a second interface for the downloadFiles function which will be implemented by the DefaultLokaliseApi.
I am unsure of the now 2 factory classes. Maybe there is a way to combine them into 1?
DownloadTranslationsTask now uses the new LokaliseDownloadApi and gets it as an input the same way it was done for the UploadTranslationsTask.
closes #69
As discussed in the issue, I went ahead and created a second interface for the
downloadFiles
function which will be implemented by theDefaultLokaliseApi
.I am unsure of the now 2 factory classes. Maybe there is a way to combine them into 1?
DownloadTranslationsTask
now uses the newLokaliseDownloadApi
and gets it as an input the same way it was done for theUploadTranslationsTask
.