Class: Qti::V1::Models::ScoringData

Inherits:
Struct
  • Object
show all
Defined in:
lib/qti/v1/models/scoring_data.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(values, rcardinality, options = {}) ⇒ ScoringData



5
6
7
# File 'lib/qti/v1/models/scoring_data.rb', line 5

def initialize(values, rcardinality, options = {})
  super(values, rcardinality, options[:id], options[:case], options[:parent_identifier])
end

Instance Attribute Details

#caseObject

Returns the value of attribute case



4
5
6
# File 'lib/qti/v1/models/scoring_data.rb', line 4

def case
  @case
end

#idObject

Returns the value of attribute id



4
5
6
# File 'lib/qti/v1/models/scoring_data.rb', line 4

def id
  @id
end

#parent_identifierObject

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

#rcardinalityObject

Returns the value of attribute rcardinality



4
5
6
# File 'lib/qti/v1/models/scoring_data.rb', line 4

def rcardinality
  @rcardinality
end

#valuesObject

Returns the value of attribute values



4
5
6
# File 'lib/qti/v1/models/scoring_data.rb', line 4

def values
  @values
end