Class: Kaltura::KalturaEventNotificationScope

Inherits:
KalturaScope show all
Defined in:
lib/kaltura_plugins/kaltura_event_notification_client_plugin.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

#object_idObject

Returns the value of attribute object_id.



256
257
258
# File 'lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb', line 256

def object_id
  @object_id
end

#scope_object_typeObject

Returns the value of attribute scope_object_type.



257
258
259
# File 'lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb', line 257

def scope_object_type
  @scope_object_type
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



260
261
262
263
264
# File 'lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb', line 260

def from_xml(xml_element)
	super
	self.object_id = xml_element.elements['objectId'].text
	self.scope_object_type = xml_element.elements['scopeObjectType'].text
end