Class: Kaltura::KalturaEventNotificationParameter
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaEventNotificationParameter
- Defined in:
- lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb
Direct Known Subclasses
KalturaEmailNotificationParameter, KalturaEventNotificationArrayParameter
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#key ⇒ Object
The key in the subject and body to be replaced with the dynamic value.
-
#value ⇒ Object
The dynamic value to be placed in the final output.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
118 119 120 |
# File 'lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb', line 118 def description @description end |
#key ⇒ Object
The key in the subject and body to be replaced with the dynamic value
117 118 119 |
# File 'lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb', line 117 def key @key end |
#value ⇒ Object
The dynamic value to be placed in the final output
121 122 123 |
# File 'lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb', line 121 def value @value end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
124 125 126 127 128 129 |
# File 'lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb', line 124 def from_xml(xml_element) super self.key = xml_element.elements['key'].text self.description = xml_element.elements['description'].text self.value = KalturaClientBase.object_from_xml(xml_element.elements['value'], 'KalturaStringValue') end |