Class: Qti::V1::Models::ScoringData
- Inherits:
-
Struct
- Object
- Struct
- Qti::V1::Models::ScoringData
- Defined in:
- lib/qti/v1/models/scoring_data.rb
Instance Attribute Summary collapse
-
#case ⇒ Object
Returns the value of attribute case.
-
#id ⇒ Object
Returns the value of attribute id.
-
#rcardinality ⇒ Object
Returns the value of attribute rcardinality.
-
#values ⇒ Object
Returns the value of attribute values.
Instance Method Summary collapse
-
#initialize(values, rcardinality, options = {}) ⇒ ScoringData
constructor
A new instance of ScoringData.
Constructor Details
#initialize(values, rcardinality, options = {}) ⇒ ScoringData
Returns a new instance of ScoringData.
5 6 7 |
# File 'lib/qti/v1/models/scoring_data.rb', line 5 def initialize(values, rcardinality, ={}) super(values, rcardinality, [:id], [:case]) end |
Instance Attribute Details
#case ⇒ Object
Returns the value of attribute case
4 5 6 |
# File 'lib/qti/v1/models/scoring_data.rb', line 4 def case @case end |
#id ⇒ Object
Returns the value of attribute id
4 5 6 |
# File 'lib/qti/v1/models/scoring_data.rb', line 4 def id @id end |
#rcardinality ⇒ Object
Returns the value of attribute rcardinality
4 5 6 |
# File 'lib/qti/v1/models/scoring_data.rb', line 4 def rcardinality @rcardinality end |
#values ⇒ Object
Returns the value of attribute values
4 5 6 |
# File 'lib/qti/v1/models/scoring_data.rb', line 4 def values @values end |