Class: Kaltura::KalturaNotificationService
- Inherits:
-
KalturaServiceBase
- Object
- KalturaServiceBase
- Kaltura::KalturaNotificationService
- Defined in:
- lib/kaltura_client.rb
Overview
Notification Service
Instance Attribute Summary
Attributes inherited from KalturaServiceBase
Instance Method Summary collapse
-
#get_client_notification(entry_id, type) ⇒ Object
Return the notifications for a specific entry id and type.
-
#initialize(client) ⇒ KalturaNotificationService
constructor
A new instance of KalturaNotificationService.
Constructor Details
#initialize(client) ⇒ KalturaNotificationService
Returns a new instance of KalturaNotificationService.
3237 3238 3239 |
# File 'lib/kaltura_client.rb', line 3237 def initialize(client) super(client) end |
Instance Method Details
#get_client_notification(entry_id, type) ⇒ Object
Return the notifications for a specific entry id and type
3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 |
# File 'lib/kaltura_client.rb', line 3243 def get_client_notification(entry_id, type) kparams = {} client.add_param(kparams, 'entryId', entry_id) client.add_param(kparams, 'type', type) client.queue_service_action_call('notification', 'getClientNotification', 'KalturaClientNotification', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |