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.
-
#parent_identifier ⇒ Object
Returns the value of attribute parent_identifier.
-
#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], [:parent_identifier]) 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 |
#parent_identifier ⇒ Object
Returns the value of attribute parent_identifier
4 5 6 |
# File 'lib/qti/v1/models/scoring_data.rb', line 4 def parent_identifier @parent_identifier 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 |