Class: Kaltura::KalturaDynamicEmailContents

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_types.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

#email_bodyObject

The body of the customized email



4294
4295
4296
# File 'lib/kaltura_types.rb', line 4294

def email_body
  @email_body
end

#email_subjectObject

The subject of the customized email



4292
4293
4294
# File 'lib/kaltura_types.rb', line 4292

def email_subject
  @email_subject
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



4297
4298
4299
4300
4301
4302
4303
4304
4305
# File 'lib/kaltura_types.rb', line 4297

def from_xml(xml_element)
	super
	if xml_element.elements['emailSubject'] != nil
		self.email_subject = xml_element.elements['emailSubject'].text
	end
	if xml_element.elements['emailBody'] != nil
		self.email_body = xml_element.elements['emailBody'].text
	end
end