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

Returns a new instance of 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

Returns:

  • (Object)

    the current value of 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

Returns:

  • (Object)

    the current value of 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

Returns:

  • (Object)

    the current value of 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

Returns:

  • (Object)

    the current value of 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

Returns:

  • (Object)

    the current value of values



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

def values
  @values
end