Class: Kaltura::KalturaApiExceptionArg
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaApiExceptionArg
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#value ⇒ Object
Returns the value of attribute value.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
464 465 466 |
# File 'lib/kaltura_types.rb', line 464 def name @name end |
#value ⇒ Object
Returns the value of attribute value.
465 466 467 |
# File 'lib/kaltura_types.rb', line 465 def value @value end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
468 469 470 471 472 473 474 475 476 |
# File 'lib/kaltura_types.rb', line 468 def from_xml(xml_element) super if xml_element.elements['name'] != nil self.name = xml_element.elements['name'].text end if xml_element.elements['value'] != nil self.value = xml_element.elements['value'].text end end |