Sha256: f657846d526613922171c61701f9424012f54ea0bca13fdd67b7c018eba85635
Contents?: true
Size: 514 Bytes
Versions: 1
Compression:
Stored size: 514 Bytes
Contents
require "canvas_qti_to_learnosity_converter/questions/question" module CanvasQtiToLearnosityConverter class EssayQuestion < QuizQuestion def to_learnosity { type: "longtextV2", stimulus: extract_stimulus(), validation: { max_score: extract_points_possible, }, } end def add_learnosity_assets(assets, path, learnosity) process_assets!( assets, path, learnosity[:stimulus] ) learnosity end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
canvas_qti_to_learnosity_converter-3.0.0 | lib/canvas_qti_to_learnosity_converter/questions/essay.rb |