Class: DeepL::Requests::StyleProfile::List

Inherits:
Base
  • Object
show all
Defined in:
lib/deepl/requests/style_profile/list.rb

Constant Summary

Constants inherited from Base

Base::COMPONENT_ID_FIELDS

Constants inherited from Base

Base::MAX_GLOSSARY_IDS, Base::NETWORK_ERRORS, Base::RESPONSE_FORMAT_ERRORS, Base::RETRYABLE_NETWORK_ERRORS, Base::TECHNICAL_HEADERS

Instance Attribute Summary

Attributes inherited from Base

#api, #options, #response

Instance Method Summary collapse

Methods inherited from Base

accepted_options, accepts_options, #details, inherited, #initialize, validate_options!

Constructor Details

This class inherits a constructor from DeepL::Requests::Base

Instance Method Details

#request ⇒ Object



12
13
14
# File 'lib/deepl/requests/style_profile/list.rb', line 12

def request
  build_style_profile_list(*execute_request_with_retries(get_request))
end

#to_s ⇒ Object



16
17
18
# File 'lib/deepl/requests/style_profile/list.rb', line 16

def to_s
  "GET #{uri.request_uri}"
end