Class: DeepL::Requests::StyleProfile::Base

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

Overview

Common behaviour of the style profile requests: served under v3, with the ID escaped into the path and GET/DELETE sent without a body.

Direct Known Subclasses

Create, Destroy, Find, List, Update

Constant Summary collapse

COMPONENT_ID_FIELDS =
%i[glossary_ids style_rule_ids translation_memory_ids].freeze

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

Method Summary

Methods inherited from Base

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

Constructor Details

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