class Kaltura::KalturaNotificationService

Notification Service

Public Class Methods

new(client) click to toggle source
Calls superclass method
# File lib/kaltura_client.rb, line 3413
def initialize(client)
        super(client)
end

Public Instance Methods

get_client_notification(entry_id, type) click to toggle source

Return the notifications for a specific entry id and type @return [KalturaClientNotification]

# File lib/kaltura_client.rb, line 3419
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