Class: Kaltura::KalturaBusinessProcessSignalNotificationTemplate

Inherits:
KalturaBusinessProcessNotificationTemplate show all
Defined in:
lib/kaltura_plugins/kaltura_business_process_notification_client_plugin.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaBusinessProcessNotificationTemplate

#main_object_code, #process_id, #server_id

Attributes inherited from KalturaEventNotificationTemplate

#automatic_dispatch_enabled, #content_parameters, #created_at, #description, #event_conditions, #event_object_type, #event_type, #id, #manual_dispatch_enabled, #name, #partner_id, #status, #system_name, #type, #updated_at, #user_parameters

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#event_idObject

Define the event that waiting to the signal



384
385
386
# File 'lib/kaltura_plugins/kaltura_business_process_notification_client_plugin.rb', line 384

def event_id
  @event_id
end

#messageObject

Define the message to be sent



382
383
384
# File 'lib/kaltura_plugins/kaltura_business_process_notification_client_plugin.rb', line 382

def message
  @message
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



387
388
389
390
391
392
393
394
395
# File 'lib/kaltura_plugins/kaltura_business_process_notification_client_plugin.rb', line 387

def from_xml(xml_element)
	super
	if xml_element.elements['message'] != nil
		self.message = xml_element.elements['message'].text
	end
	if xml_element.elements['eventId'] != nil
		self.event_id = xml_element.elements['eventId'].text
	end
end