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
3110 3111 3112 |
# File 'lib/kaltura_types.rb', line 3110 def data @data end |
#url ⇒ Object
The URL where the notification should be sent to
3108 3109 3110 |
# File 'lib/kaltura_types.rb', line 3108 def url @url end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
3113 3114 3115 3116 3117 3118 3119 3120 3121 |
# File 'lib/kaltura_types.rb', line 3113 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 |