class Kaltura::KalturaQuiz
Attributes
allow_answer_update[RW]
allow_download[RW]
attempts_allowed[RW]
score_type[RW]
show_correct_after_submission[RW]
show_correct_key_on_answer[RW]
show_grade_after_submission[RW]
show_result_on_answer[RW]
ui_attributes[RW]
Array of key value ui related objects
version[RW]
Public Instance Methods
allow_answer_update=(val)
click to toggle source
# File lib/kaltura_plugins/kaltura_quiz_client_plugin.rb, line 117 def allow_answer_update=(val) @allow_answer_update = val.to_i end
allow_download=(val)
click to toggle source
# File lib/kaltura_plugins/kaltura_quiz_client_plugin.rb, line 123 def allow_download=(val) @allow_download = val.to_i end
attempts_allowed=(val)
click to toggle source
# File lib/kaltura_plugins/kaltura_quiz_client_plugin.rb, line 129 def attempts_allowed=(val) @attempts_allowed = val.to_i end
from_xml(xml_element)
click to toggle source
Calls superclass method
Kaltura::KalturaObjectBase#from_xml
# File lib/kaltura_plugins/kaltura_quiz_client_plugin.rb, line 136 def from_xml(xml_element) super if xml_element.elements['version'] != nil self.version = xml_element.elements['version'].text end if xml_element.elements['uiAttributes'] != nil self.ui_attributes = KalturaClientBase.object_from_xml(xml_element.elements['uiAttributes'], 'KalturaKeyValue') end if xml_element.elements['showResultOnAnswer'] != nil self.show_result_on_answer = xml_element.elements['showResultOnAnswer'].text end if xml_element.elements['showCorrectKeyOnAnswer'] != nil self.show_correct_key_on_answer = xml_element.elements['showCorrectKeyOnAnswer'].text end if xml_element.elements['allowAnswerUpdate'] != nil self.allow_answer_update = xml_element.elements['allowAnswerUpdate'].text end if xml_element.elements['showCorrectAfterSubmission'] != nil self.show_correct_after_submission = xml_element.elements['showCorrectAfterSubmission'].text end if xml_element.elements['allowDownload'] != nil self.allow_download = xml_element.elements['allowDownload'].text end if xml_element.elements['showGradeAfterSubmission'] != nil self.show_grade_after_submission = xml_element.elements['showGradeAfterSubmission'].text end if xml_element.elements['attemptsAllowed'] != nil self.attempts_allowed = xml_element.elements['attemptsAllowed'].text end if xml_element.elements['scoreType'] != nil self.score_type = xml_element.elements['scoreType'].text end end
score_type=(val)
click to toggle source
# File lib/kaltura_plugins/kaltura_quiz_client_plugin.rb, line 132 def score_type=(val) @score_type = val.to_i end
show_correct_after_submission=(val)
click to toggle source
# File lib/kaltura_plugins/kaltura_quiz_client_plugin.rb, line 120 def show_correct_after_submission=(val) @show_correct_after_submission = val.to_i end
show_correct_key_on_answer=(val)
click to toggle source
# File lib/kaltura_plugins/kaltura_quiz_client_plugin.rb, line 114 def show_correct_key_on_answer=(val) @show_correct_key_on_answer = val.to_i end
show_grade_after_submission=(val)
click to toggle source
# File lib/kaltura_plugins/kaltura_quiz_client_plugin.rb, line 126 def show_grade_after_submission=(val) @show_grade_after_submission = val.to_i end
show_result_on_answer=(val)
click to toggle source
# File lib/kaltura_plugins/kaltura_quiz_client_plugin.rb, line 111 def show_result_on_answer=(val) @show_result_on_answer = val.to_i end
version=(val)
click to toggle source
# File lib/kaltura_plugins/kaltura_quiz_client_plugin.rb, line 108 def version=(val) @version = val.to_i end