class GoogleTranslate::Translation
- GoogleTranslate::Translation
- Reference
- Object
Overview
Represents GoogleTranslate parsed response.
Defined in:
google_translate/translation.crConstructors
Instance Method Summary
- #corrected_query : String
- #http_response : HTTP::Client::Response
- #query : String
- #source_lang : String
- #target_lang : String
- #text : String
- #variants : Hash(String, Array(String))
Constructor Detail
def self.new(http_response : HTTP::Client::Response, source_lang : String, target_lang : String, query : String, corrected_query : String, text : String)
#