Class: Kaltura::KalturaClientNotification

Inherits:
KalturaObjectBase show all
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

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#dataObject

The serialized notification data to send



1721
1722
1723
# File 'lib/kaltura_types.rb', line 1721

def data
  @data
end

#urlObject

The URL where the notification should be sent to



1718
1719
1720
# File 'lib/kaltura_types.rb', line 1718

def url
  @url
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



1724
1725
1726
1727
1728
# File 'lib/kaltura_types.rb', line 1724

def from_xml(xml_element)
	super
	self.url = xml_element.elements['url'].text
	self.data = xml_element.elements['data'].text
end