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
-
#answer_type ⇒ Object
Returns the value of attribute answer_type.
-
#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.
-
#scoring_algorithm ⇒ Object
Returns the value of attribute scoring_algorithm.
-
#scoring_options ⇒ Object
Returns the value of attribute scoring_options.
-
#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.
6 7 8 9 |
# File 'lib/qti/v1/models/scoring_data.rb', line 6 def initialize(values, rcardinality, = {}) super(values, rcardinality, [:id], [:case], [:parent_identifier], [:scoring_algorithm], [:answer_type], [:scoring_options]) end |
Instance Attribute Details
#answer_type ⇒ Object
Returns the value of attribute answer_type
4 5 6 |
# File 'lib/qti/v1/models/scoring_data.rb', line 4 def answer_type @answer_type end |
#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 |
#scoring_algorithm ⇒ Object
Returns the value of attribute scoring_algorithm
4 5 6 |
# File 'lib/qti/v1/models/scoring_data.rb', line 4 def scoring_algorithm @scoring_algorithm end |
#scoring_options ⇒ Object
Returns the value of attribute scoring_options
4 5 6 |
# File 'lib/qti/v1/models/scoring_data.rb', line 4 def @scoring_options 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 |