Class: DeepL::Requests::Glossary::List
- Inherits:
-
Base
- Object
- Base
- DeepL::Requests::Glossary::List
show all
- Defined in:
- lib/deepl/requests/glossary/list.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 = {}) ⇒ List
Returns a new instance of List.
10
11
12
|
# File 'lib/deepl/requests/glossary/list.rb', line 10
def initialize(api, options = {})
super
end
|
Instance Method Details
#request ⇒ Object
14
15
16
|
# File 'lib/deepl/requests/glossary/list.rb', line 14
def request
build_glossary_list(*execute_request_with_retries(get_request))
end
|
#to_s ⇒ Object
18
19
20
|
# File 'lib/deepl/requests/glossary/list.rb', line 18
def to_s
"GET #{uri.request_uri}"
end
|