class Kaltura::KalturaPlayReadyLicenseDetails
Attributes
begin_date[RW]
License begin date
expiration_date[RW]
License expiration date
policy[RW]
PlayReady policy object
removal_date[RW]
License removal date
Public Instance Methods
begin_date=(val)
click to toggle source
# File lib/kaltura_plugins/kaltura_play_ready_client_plugin.rb, line 238 def begin_date=(val) @begin_date = val.to_i end
expiration_date=(val)
click to toggle source
# File lib/kaltura_plugins/kaltura_play_ready_client_plugin.rb, line 241 def expiration_date=(val) @expiration_date = val.to_i end
from_xml(xml_element)
click to toggle source
Calls superclass method
Kaltura::KalturaObjectBase#from_xml
# File lib/kaltura_plugins/kaltura_play_ready_client_plugin.rb, line 248 def from_xml(xml_element) super if xml_element.elements['policy'] != nil self.policy = KalturaClientBase.object_from_xml(xml_element.elements['policy'], 'KalturaPlayReadyPolicy') end if xml_element.elements['beginDate'] != nil self.begin_date = xml_element.elements['beginDate'].text end if xml_element.elements['expirationDate'] != nil self.expiration_date = xml_element.elements['expirationDate'].text end if xml_element.elements['removalDate'] != nil self.removal_date = xml_element.elements['removalDate'].text end end
removal_date=(val)
click to toggle source
# File lib/kaltura_plugins/kaltura_play_ready_client_plugin.rb, line 244 def removal_date=(val) @removal_date = val.to_i end