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



18379
18380
18381
# File 'lib/kaltura_types.rb', line 18379

def content
  @content
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



18382
18383
18384
18385
18386
18387
# File 'lib/kaltura_types.rb', line 18382

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