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.



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

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

Instance Attribute Details

#answer_typeObject

Returns the value of attribute answer_type

Returns:

  • (Object)

    the current value of answer_type



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

def answer_type
  @answer_type
end

#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

#scoring_algorithmObject

Returns the value of attribute scoring_algorithm

Returns:

  • (Object)

    the current value of scoring_algorithm



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

def scoring_algorithm
  @scoring_algorithm
end

#scoring_optionsObject

Returns the value of attribute scoring_options

Returns:

  • (Object)

    the current value of scoring_options



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

def scoring_options
  @scoring_options
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