Class: Copyleaks::Score
- Inherits:
-
Object
- Object
- Copyleaks::Score
- Defined in:
- lib/copyleaks/models/submissions/webhooks/HelperModels/ResultsModels/Score.rb
Instance Attribute Summary collapse
-
#aggregatedScore ⇒ Object
readonly
Returns the value of attribute aggregatedScore.
-
#identicalWords ⇒ Object
readonly
Returns the value of attribute identicalWords.
-
#minorChangedWords ⇒ Object
readonly
Returns the value of attribute minorChangedWords.
-
#relatedMeaningWords ⇒ Object
readonly
Returns the value of attribute relatedMeaningWords.
Instance Method Summary collapse
-
#initialize(identicalWords: nil, minorChangedWords: nil, relatedMeaningWords: nil, aggregatedScore: nil) ⇒ Score
constructor
A new instance of Score.
Constructor Details
#initialize(identicalWords: nil, minorChangedWords: nil, relatedMeaningWords: nil, aggregatedScore: nil) ⇒ Score
Returns a new instance of Score.
28 29 30 31 32 33 34 35 36 37 38 |
# File 'lib/copyleaks/models/submissions/webhooks/HelperModels/ResultsModels/Score.rb', line 28 def initialize( identicalWords: nil, minorChangedWords: nil, relatedMeaningWords: nil, aggregatedScore: nil ) @identicalWords = identicalWords @minorChangedWords = minorChangedWords @relatedMeaningWords = @aggregatedScore = aggregatedScore end |
Instance Attribute Details
#aggregatedScore ⇒ Object (readonly)
Returns the value of attribute aggregatedScore.
22 23 24 |
# File 'lib/copyleaks/models/submissions/webhooks/HelperModels/ResultsModels/Score.rb', line 22 def aggregatedScore @aggregatedScore end |
#identicalWords ⇒ Object (readonly)
Returns the value of attribute identicalWords.
22 23 24 |
# File 'lib/copyleaks/models/submissions/webhooks/HelperModels/ResultsModels/Score.rb', line 22 def identicalWords @identicalWords end |
#minorChangedWords ⇒ Object (readonly)
Returns the value of attribute minorChangedWords.
22 23 24 |
# File 'lib/copyleaks/models/submissions/webhooks/HelperModels/ResultsModels/Score.rb', line 22 def minorChangedWords @minorChangedWords end |
#relatedMeaningWords ⇒ Object (readonly)
Returns the value of attribute relatedMeaningWords.
22 23 24 |
# File 'lib/copyleaks/models/submissions/webhooks/HelperModels/ResultsModels/Score.rb', line 22 def @relatedMeaningWords end |