Class: Kameleoon::CBScores::ScoredVarId
- Inherits:
-
Object
- Object
- Kameleoon::CBScores::ScoredVarId
- Defined in:
- lib/kameleoon/data/cbscores.rb
Instance Attribute Summary collapse
-
#score ⇒ Object
readonly
Returns the value of attribute score.
-
#variation_id ⇒ Object
readonly
Returns the value of attribute variation_id.
Instance Method Summary collapse
-
#initialize(variation_id, score) ⇒ ScoredVarId
constructor
A new instance of ScoredVarId.
Constructor Details
#initialize(variation_id, score) ⇒ ScoredVarId
Returns a new instance of ScoredVarId.
23 24 25 26 |
# File 'lib/kameleoon/data/cbscores.rb', line 23 def initialize(variation_id, score) @variation_id = variation_id @score = score end |
Instance Attribute Details
#score ⇒ Object (readonly)
Returns the value of attribute score.
21 22 23 |
# File 'lib/kameleoon/data/cbscores.rb', line 21 def score @score end |
#variation_id ⇒ Object (readonly)
Returns the value of attribute variation_id.
21 22 23 |
# File 'lib/kameleoon/data/cbscores.rb', line 21 def variation_id @variation_id end |