Class: Kaltura::KalturaESearchHistory
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaESearchHistory
- Defined in:
- lib/kaltura_plugins/kaltura_search_history_client_plugin.rb
Instance Attribute Summary collapse
-
#search_term ⇒ Object
Returns the value of attribute search_term.
-
#searched_object ⇒ Object
Returns the value of attribute searched_object.
-
#timestamp ⇒ Object
Returns the value of attribute timestamp.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#search_term ⇒ Object
Returns the value of attribute search_term.
34 35 36 |
# File 'lib/kaltura_plugins/kaltura_search_history_client_plugin.rb', line 34 def search_term @search_term end |
#searched_object ⇒ Object
Returns the value of attribute searched_object.
35 36 37 |
# File 'lib/kaltura_plugins/kaltura_search_history_client_plugin.rb', line 35 def searched_object @searched_object end |
#timestamp ⇒ Object
Returns the value of attribute timestamp.
36 37 38 |
# File 'lib/kaltura_plugins/kaltura_search_history_client_plugin.rb', line 36 def @timestamp end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
42 43 44 45 46 47 48 49 50 51 52 53 |
# File 'lib/kaltura_plugins/kaltura_search_history_client_plugin.rb', line 42 def from_xml(xml_element) super if xml_element.elements['searchTerm'] != nil self.search_term = xml_element.elements['searchTerm'].text end if xml_element.elements['searchedObject'] != nil self.searched_object = xml_element.elements['searchedObject'].text end if xml_element.elements['timestamp'] != nil self. = xml_element.elements['timestamp'].text end end |