Class: Kaltura::KalturaEmailNotificationRecipient
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaEmailNotificationRecipient
- Defined in:
- lib/kaltura_plugins/kaltura_email_notification_client_plugin.rb
Instance Attribute Summary collapse
-
#email ⇒ Object
Recipient e-mail address.
-
#name ⇒ Object
Recipient name.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#email ⇒ Object
Recipient e-mail address
62 63 64 |
# File 'lib/kaltura_plugins/kaltura_email_notification_client_plugin.rb', line 62 def email @email end |
#name ⇒ Object
Recipient name
64 65 66 |
# File 'lib/kaltura_plugins/kaltura_email_notification_client_plugin.rb', line 64 def name @name end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
67 68 69 70 71 72 73 74 75 |
# File 'lib/kaltura_plugins/kaltura_email_notification_client_plugin.rb', line 67 def from_xml(xml_element) super if xml_element.elements['email'] != nil self.email = KalturaClientBase.object_from_xml(xml_element.elements['email'], 'KalturaStringValue') end if xml_element.elements['name'] != nil self.name = KalturaClientBase.object_from_xml(xml_element.elements['name'], 'KalturaStringValue') end end |