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