Class: Kaltura::KalturaQuizFilter

Inherits:
KalturaRelatedFilter show all
Defined in:
lib/kaltura_plugins/kaltura_quiz_client_plugin.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaFilter

#advanced_search, #order_by

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#entry_id_equalObject

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_inObject

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