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



4241
4242
4243
# File 'lib/kaltura_types.rb', line 4241

def email_body
  @email_body
end

#email_subjectObject

The subject of the customized email



4239
4240
4241
# File 'lib/kaltura_types.rb', line 4239

def email_subject
  @email_subject
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



4244
4245
4246
4247
4248
4249
4250
4251
4252
# File 'lib/kaltura_types.rb', line 4244

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