Class: Kaltura::KalturaStringResource

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

Overview

Used to ingest string content.

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

#contentObject

Textual content



17497
17498
17499
# File 'lib/kaltura_types.rb', line 17497

def content
  @content
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



17500
17501
17502
17503
17504
17505
# File 'lib/kaltura_types.rb', line 17500

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