Class: Kaltura::KalturaEventNotificationParameter

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb

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

#descriptionObject

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

#keyObject

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

#valueObject

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