Class: DeepL::Constants::LanguageResourceName

Inherits:
BaseConstant
  • Object
show all
Defined in:
lib/deepl/constants/language_resource_name.rb

Overview

Values of the resource argument of DeepL::Client#get_languages_for_resource and of DeepL::Resources::LanguageResource#name. Other strings are accepted and sent unchanged, so a resource the API adds later can be queried before it is listed here.

Constant Summary collapse

TRANSLATE_TEXT =
'translate_text'
TRANSLATE_DOCUMENT =
'translate_document'
GLOSSARY =
'glossary'
VOICE =
'voice'
WRITE =
'write'
STYLE_RULES =
'style_rules'
TRANSLATION_MEMORY =
'translation_memory'

Method Summary

Methods inherited from BaseConstant

options, valid?