Class: Kaltura::KalturaQuizFilter
- Inherits:
-
KalturaRelatedFilter
- Object
- KalturaObjectBase
- KalturaFilter
- KalturaRelatedFilter
- Kaltura::KalturaQuizFilter
- Defined in:
- lib/kaltura_plugins/kaltura_quiz_client_plugin.rb
Instance Attribute Summary collapse
-
#entry_id_equal ⇒ Object
This filter should be in use for retrieving only a specific quiz entry (identified by its entryId).
-
#entry_id_in ⇒ Object
This filter should be in use for retrieving few specific quiz entries (string should include comma separated list of entryId strings).
Attributes inherited from KalturaFilter
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#entry_id_equal ⇒ Object
This filter should be in use for retrieving only a specific quiz entry (identified by its entryId).
295 296 297 |
# File 'lib/kaltura_plugins/kaltura_quiz_client_plugin.rb', line 295 def entry_id_equal @entry_id_equal end |
#entry_id_in ⇒ Object
This filter should be in use for retrieving few specific quiz entries (string should include comma separated list of entryId strings).
297 298 299 |
# File 'lib/kaltura_plugins/kaltura_quiz_client_plugin.rb', line 297 def entry_id_in @entry_id_in end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
300 301 302 303 304 305 306 307 308 |
# File 'lib/kaltura_plugins/kaltura_quiz_client_plugin.rb', line 300 def from_xml(xml_element) super if xml_element.elements['entryIdEqual'] != nil self.entry_id_equal = xml_element.elements['entryIdEqual'].text end if xml_element.elements['entryIdIn'] != nil self.entry_id_in = xml_element.elements['entryIdIn'].text end end |