class TranslatorText::Types::TranslationResult
Public Instance Methods
detected_language()
click to toggle source
Returns the detected language
@return [Symbol] the language
# File lib/translator_text/types/translation_result.rb, line 14 def detected_language if h = detectedLanguage['language'] h.to_sym end end