Class: Kaltura::KalturaPushNotificationData
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaPushNotificationData
- Defined in:
- lib/kaltura_plugins/kaltura_push_notification_client_plugin.rb
Instance Attribute Summary collapse
-
#queue_key ⇒ Object
Returns the value of attribute queue_key.
-
#queue_name ⇒ Object
Returns the value of attribute queue_name.
-
#url ⇒ Object
Returns the value of attribute url.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#queue_key ⇒ Object
Returns the value of attribute queue_key.
61 62 63 |
# File 'lib/kaltura_plugins/kaltura_push_notification_client_plugin.rb', line 61 def queue_key @queue_key end |
#queue_name ⇒ Object
Returns the value of attribute queue_name.
60 61 62 |
# File 'lib/kaltura_plugins/kaltura_push_notification_client_plugin.rb', line 60 def queue_name @queue_name end |
#url ⇒ Object
Returns the value of attribute url.
62 63 64 |
# File 'lib/kaltura_plugins/kaltura_push_notification_client_plugin.rb', line 62 def url @url end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
65 66 67 68 69 70 71 72 73 74 75 76 |
# File 'lib/kaltura_plugins/kaltura_push_notification_client_plugin.rb', line 65 def from_xml(xml_element) super if xml_element.elements['queueName'] != nil self.queue_name = xml_element.elements['queueName'].text end if xml_element.elements['queueKey'] != nil self.queue_key = xml_element.elements['queueKey'].text end if xml_element.elements['url'] != nil self.url = xml_element.elements['url'].text end end |