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