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