Class: Kaltura::KalturaEventNotificationScope
- Inherits:
-
KalturaScope
- Object
- KalturaObjectBase
- KalturaScope
- Kaltura::KalturaEventNotificationScope
- Defined in:
- lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#object_id ⇒ Object
Returns the value of attribute object_id.
-
#scope_object_type ⇒ Object
Returns the value of attribute scope_object_type.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#object_id ⇒ Object
Returns the value of attribute object_id.
304 305 306 |
# File 'lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb', line 304 def object_id @object_id end |
#scope_object_type ⇒ Object
Returns the value of attribute scope_object_type.
305 306 307 |
# File 'lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb', line 305 def scope_object_type @scope_object_type end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
308 309 310 311 312 313 314 315 316 |
# File 'lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb', line 308 def from_xml(xml_element) super if xml_element.elements['objectId'] != nil self.object_id = xml_element.elements['objectId'].text end if xml_element.elements['scopeObjectType'] != nil self.scope_object_type = xml_element.elements['scopeObjectType'].text end end |