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



18318
18319
18320
# File 'lib/kaltura_types.rb', line 18318

def content
  @content
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



18321
18322
18323
18324
18325
18326
# File 'lib/kaltura_types.rb', line 18321

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