Class: SyllabsApi::Modules::SentimentAnalysis::Evaluation
- Inherits:
-
Object
- Object
- SyllabsApi::Modules::SentimentAnalysis::Evaluation
- Defined in:
- lib/syllabs-api/modules/sentiment_analysis/response.rb
Instance Attribute Summary collapse
-
#confidence ⇒ Object
Returns the value of attribute confidence.
-
#eval ⇒ Object
Returns the value of attribute eval.
-
#object ⇒ Object
Returns the value of attribute object.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(confidence, object, value, eval) ⇒ Evaluation
constructor
A new instance of Evaluation.
Constructor Details
#initialize(confidence, object, value, eval) ⇒ Evaluation
Returns a new instance of Evaluation.
20 21 22 |
# File 'lib/syllabs-api/modules/sentiment_analysis/response.rb', line 20 def initialize(confidence, object, value, eval) @confidence, @object, @value, @eval = confidence, object, value, eval end |
Instance Attribute Details
#confidence ⇒ Object
Returns the value of attribute confidence.
19 20 21 |
# File 'lib/syllabs-api/modules/sentiment_analysis/response.rb', line 19 def confidence @confidence end |
#eval ⇒ Object
Returns the value of attribute eval.
19 20 21 |
# File 'lib/syllabs-api/modules/sentiment_analysis/response.rb', line 19 def eval @eval end |
#object ⇒ Object
Returns the value of attribute object.
19 20 21 |
# File 'lib/syllabs-api/modules/sentiment_analysis/response.rb', line 19 def object @object end |
#value ⇒ Object
Returns the value of attribute value.
19 20 21 |
# File 'lib/syllabs-api/modules/sentiment_analysis/response.rb', line 19 def value @value end |