Class: DeepL::Requests::Glossary::LanguagePairs
- Inherits:
-
Base
- Object
- Base
- DeepL::Requests::Glossary::LanguagePairs
show all
- Defined in:
- lib/deepl/requests/glossary/language_pairs.rb
Instance Attribute Summary
Attributes inherited from Base
#api, #options, #response
Instance Method Summary
collapse
Methods inherited from Base
#details
Constructor Details
#initialize(api, options = {}) ⇒ LanguagePairs
Returns a new instance of LanguagePairs.
10
11
12
|
# File 'lib/deepl/requests/glossary/language_pairs.rb', line 10
def initialize(api, options = {})
super
end
|
Instance Method Details
#request ⇒ Object
14
15
16
|
# File 'lib/deepl/requests/glossary/language_pairs.rb', line 14
def request
build_language_pair_list(*execute_request_with_retries(get_request))
end
|
#to_s ⇒ Object
18
19
20
|
# File 'lib/deepl/requests/glossary/language_pairs.rb', line 18
def to_s
"GET #{uri.request_uri}"
end
|