Class: Kaltura::KalturaClientNotification
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaClientNotification
- Defined in:
- lib/kaltura_types.rb
Overview
Client notification object to hold the notification url and the data when sending client side notifications
Instance Attribute Summary collapse
-
#data ⇒ Object
The serialized notification data to send.
-
#url ⇒ Object
The URL where the notification should be sent to.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#data ⇒ Object
The serialized notification data to send
2895 2896 2897 |
# File 'lib/kaltura_types.rb', line 2895 def data @data end |
#url ⇒ Object
The URL where the notification should be sent to
2893 2894 2895 |
# File 'lib/kaltura_types.rb', line 2893 def url @url end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
2898 2899 2900 2901 2902 2903 2904 2905 2906 |
# File 'lib/kaltura_types.rb', line 2898 def from_xml(xml_element) super if xml_element.elements['url'] != nil self.url = xml_element.elements['url'].text end if xml_element.elements['data'] != nil self.data = xml_element.elements['data'].text end end |