Class: DeepL::Requests::TranslationMemory::DownloadExport
- Inherits:
-
StorageBase
show all
- Defined in:
- lib/deepl/requests/translation_memory/download_export.rb
Constant Summary
Constants inherited
from Base
Base::MAX_GLOSSARY_IDS
Instance Attribute Summary
Attributes inherited from StorageBase
#storage_url
Attributes inherited from Base
#api, #options, #response
Instance Method Summary
collapse
Methods inherited from Base
#details
Constructor Details
#initialize(api, download_url, output_file) ⇒ DownloadExport
Returns a new instance of DownloadExport.
10
11
12
13
|
# File 'lib/deepl/requests/translation_memory/download_export.rb', line 10
def initialize(api, download_url, output_file)
super(api, download_url)
@output_file = output_file
end
|
Instance Method Details
#request ⇒ Object
15
16
17
|
# File 'lib/deepl/requests/translation_memory/download_export.rb', line 15
def request
(*execute_request_with_retries(get_request))
end
|
#to_s ⇒ Object
19
20
21
|
# File 'lib/deepl/requests/translation_memory/download_export.rb', line 19
def to_s
"GET #{uri.request_uri}"
end
|