Class: Datawow::TextJa
- Inherits:
-
Object
- Object
- Datawow::TextJa
- Includes:
- Models::Interface
- Defined in:
- lib/datawow/models/texts/text_ja.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#project_key ⇒ Object
writeonly
Sets the attribute project_key.
Instance Method Summary collapse
-
#initialize(token = nil) ⇒ TextJa
constructor
A new instance of TextJa.
Methods included from Models::Interface
Constructor Details
#initialize(token = nil) ⇒ TextJa
Returns a new instance of TextJa.
10 11 12 13 14 15 |
# File 'lib/datawow/models/texts/text_ja.rb', line 10 def initialize(token = nil) @project_key = token @type = :text @query_str = false @path = 'text_ai/text_ja' end |
Instance Attribute Details
#project_key=(value) ⇒ Object (writeonly)
Sets the attribute project_key
8 9 10 |
# File 'lib/datawow/models/texts/text_ja.rb', line 8 def project_key=(value) @project_key = value end |