Class: ThatLanguage::Client::DetectQuery
- Inherits:
-
Query
- Object
- Query
- ThatLanguage::Client::DetectQuery
show all
- Defined in:
- lib/that_language/client/detect_query.rb
Instance Attribute Summary
Attributes inherited from Query
#text
Instance Method Summary
collapse
Methods inherited from Query
#initialize, #to_h
Instance Method Details
#confidence ⇒ Object
14
15
16
|
# File 'lib/that_language/client/detect_query.rb', line 14
def confidence
json["confidence"]
end
|
#language ⇒ Object
6
7
8
|
# File 'lib/that_language/client/detect_query.rb', line 6
def language
json["language"]
end
|
#language_code ⇒ Object
10
11
12
|
# File 'lib/that_language/client/detect_query.rb', line 10
def language_code
json["language_code"]
end
|