Class: Kaltura::KalturaPlayReadyContentKey

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_plugins/kaltura_play_ready_client_plugin.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

#content_keyObject

License content key 64 bit encoded



135
136
137
# File 'lib/kaltura_plugins/kaltura_play_ready_client_plugin.rb', line 135

def content_key
  @content_key
end

#key_idObject

Guid - key id of the specific content



133
134
135
# File 'lib/kaltura_plugins/kaltura_play_ready_client_plugin.rb', line 133

def key_id
  @key_id
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



138
139
140
141
142
143
144
145
146
# File 'lib/kaltura_plugins/kaltura_play_ready_client_plugin.rb', line 138

def from_xml(xml_element)
	super
	if xml_element.elements['keyId'] != nil
		self.key_id = xml_element.elements['keyId'].text
	end
	if xml_element.elements['contentKey'] != nil
		self.content_key = xml_element.elements['contentKey'].text
	end
end