Sha256: f657846d526613922171c61701f9424012f54ea0bca13fdd67b7c018eba85635
Contents?: true
Size: 514 Bytes
Versions: 2
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
2 entries across 2 versions & 1 rubygems