Class: Kaltura::KalturaDrmLicenseAccessService
- Inherits:
-
KalturaServiceBase
- Object
- KalturaServiceBase
- Kaltura::KalturaDrmLicenseAccessService
- Defined in:
- lib/kaltura_plugins/kaltura_drm_client_plugin.rb
Overview
Retrieve information and invoke actions on Flavor Asset
Instance Attribute Summary
Attributes inherited from KalturaServiceBase
Instance Method Summary collapse
-
#get_access(entry_id, flavor_ids, referrer) ⇒ KalturaDrmLicenseAccessDetails
getAccessAction input: flavor ids, drmProvider Get Access Action.
-
#initialize(client) ⇒ KalturaDrmLicenseAccessService
constructor
A new instance of KalturaDrmLicenseAccessService.
Constructor Details
#initialize(client) ⇒ KalturaDrmLicenseAccessService
Returns a new instance of KalturaDrmLicenseAccessService.
588 589 590 |
# File 'lib/kaltura_plugins/kaltura_drm_client_plugin.rb', line 588 def initialize(client) super(client) end |
Instance Method Details
#get_access(entry_id, flavor_ids, referrer) ⇒ KalturaDrmLicenseAccessDetails
getAccessAction
input: flavor ids, drmProvider
Get Access Action
596 597 598 599 600 601 602 603 604 605 606 |
# File 'lib/kaltura_plugins/kaltura_drm_client_plugin.rb', line 596 def get_access(entry_id, flavor_ids, referrer) kparams = {} client.add_param(kparams, 'entryId', entry_id) client.add_param(kparams, 'flavorIds', flavor_ids) client.add_param(kparams, 'referrer', referrer) client.queue_service_action_call('drm_drmlicenseaccess', 'getAccess', 'KalturaDrmLicenseAccessDetails', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |