class GoogleTranslate::Translation

Overview

Represents GoogleTranslate parsed response.

Defined in:

google_translate/translation.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(http_response : HTTP::Client::Response, source_lang : String, target_lang : String, query : String, corrected_query : String, text : String) #

[View source]

Instance Method Detail

def corrected_query : String #

[View source]
def http_response : HTTP::Client::Response #

[View source]
def query : String #

[View source]
def source_lang : String #

[View source]
def target_lang : String #

[View source]
def text : String #

[View source]
def variants : Hash(String, Array(String)) #

[View source]