Class: Kaltura::KalturaDrmEntryContextPluginData

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

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

#flavor_dataObject

For the uDRM we give the drm context data which is a json encoding of an array containing the uDRM data

for each flavor that is required from this getContextData request.


12781
12782
12783
# File 'lib/kaltura_types.rb', line 12781

def flavor_data
  @flavor_data
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



12784
12785
12786
12787
12788
12789
# File 'lib/kaltura_types.rb', line 12784

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