Class: Kaltura::KalturaEvalBooleanField

Inherits:
KalturaBooleanField show all
Defined in:
lib/kaltura_types.rb

Overview

Evaluates PHP statement, depends on the execution context

Instance Attribute Summary collapse

Attributes inherited from KalturaBooleanValue

#value

Attributes inherited from KalturaValue

#description

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#codeObject

PHP code



18230
18231
18232
# File 'lib/kaltura_types.rb', line 18230

def code
  @code
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



18233
18234
18235
18236
18237
18238
# File 'lib/kaltura_types.rb', line 18233

def from_xml(xml_element)
	super
	if xml_element.elements['code'] != nil
		self.code = xml_element.elements['code'].text
	end
end