Class: Kaltura::KalturaWidevineProfile
- Inherits:
-
KalturaDrmProfile
- Object
- KalturaObjectBase
- KalturaDrmProfile
- Kaltura::KalturaWidevineProfile
- Defined in:
- lib/kaltura_plugins/kaltura_widevine_client_plugin.rb
Instance Attribute Summary collapse
-
#iv ⇒ Object
Returns the value of attribute iv.
-
#key ⇒ Object
Returns the value of attribute key.
-
#max_gop ⇒ Object
Returns the value of attribute max_gop.
-
#owner ⇒ Object
Returns the value of attribute owner.
-
#portal ⇒ Object
Returns the value of attribute portal.
-
#reg_server_host ⇒ Object
Returns the value of attribute reg_server_host.
Attributes inherited from KalturaDrmProfile
#created_at, #default_policy, #description, #id, #license_server_url, #name, #partner_id, #provider, #signing_key, #status, #updated_at
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#iv ⇒ Object
Returns the value of attribute iv.
63 64 65 |
# File 'lib/kaltura_plugins/kaltura_widevine_client_plugin.rb', line 63 def iv @iv end |
#key ⇒ Object
Returns the value of attribute key.
62 63 64 |
# File 'lib/kaltura_plugins/kaltura_widevine_client_plugin.rb', line 62 def key @key end |
#max_gop ⇒ Object
Returns the value of attribute max_gop.
66 67 68 |
# File 'lib/kaltura_plugins/kaltura_widevine_client_plugin.rb', line 66 def max_gop @max_gop end |
#owner ⇒ Object
Returns the value of attribute owner.
64 65 66 |
# File 'lib/kaltura_plugins/kaltura_widevine_client_plugin.rb', line 64 def owner @owner end |
#portal ⇒ Object
Returns the value of attribute portal.
65 66 67 |
# File 'lib/kaltura_plugins/kaltura_widevine_client_plugin.rb', line 65 def portal @portal end |
#reg_server_host ⇒ Object
Returns the value of attribute reg_server_host.
67 68 69 |
# File 'lib/kaltura_plugins/kaltura_widevine_client_plugin.rb', line 67 def reg_server_host @reg_server_host end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 |
# File 'lib/kaltura_plugins/kaltura_widevine_client_plugin.rb', line 73 def from_xml(xml_element) super if xml_element.elements['key'] != nil self.key = xml_element.elements['key'].text end if xml_element.elements['iv'] != nil self.iv = xml_element.elements['iv'].text end if xml_element.elements['owner'] != nil self.owner = xml_element.elements['owner'].text end if xml_element.elements['portal'] != nil self.portal = xml_element.elements['portal'].text end if xml_element.elements['maxGop'] != nil self.max_gop = xml_element.elements['maxGop'].text end if xml_element.elements['regServerHost'] != nil self.reg_server_host = xml_element.elements['regServerHost'].text end end |