Class: Kaltura::KalturaAccessControlMessage
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaAccessControlMessage
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#message ⇒ Object
Returns the value of attribute message.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
150 151 152 |
# File 'lib/kaltura_types.rb', line 150 def code @code end |
#message ⇒ Object
Returns the value of attribute message.
149 150 151 |
# File 'lib/kaltura_types.rb', line 149 def @message end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
153 154 155 156 157 158 159 160 161 |
# File 'lib/kaltura_types.rb', line 153 def from_xml(xml_element) super if xml_element.elements['message'] != nil self. = xml_element.elements['message'].text end if xml_element.elements['code'] != nil self.code = xml_element.elements['code'].text end end |