Class: Kaltura::KalturaKeyBooleanValue
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaKeyBooleanValue
- Defined in:
- lib/kaltura_types.rb
Overview
A key (boolean) value pair representation to return an array of key-(boolean)value pairs (associative array)
Instance Attribute Summary collapse
-
#key ⇒ Object
Returns the value of attribute key.
-
#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
#key ⇒ Object
Returns the value of attribute key.
3153 3154 3155 |
# File 'lib/kaltura_types.rb', line 3153 def key @key end |
#value ⇒ Object
Returns the value of attribute value.
3154 3155 3156 |
# File 'lib/kaltura_types.rb', line 3154 def value @value end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
3160 3161 3162 3163 3164 |
# File 'lib/kaltura_types.rb', line 3160 def from_xml(xml_element) super self.key = xml_element.elements['key'].text self.value = xml_element.elements['value'].text end |