class Kaltura::KalturaUserEntryService
Public Class Methods
new(client)
click to toggle source
Calls superclass method
# File lib/kaltura_client.rb, line 5339 def initialize(client) super(client) end
Public Instance Methods
add(user_entry)
click to toggle source
Adds a user_entry to the Kaltura
DB. @return [KalturaUserEntry]
# File lib/kaltura_client.rb, line 5345 def add(user_entry) kparams = {} client.add_param(kparams, 'userEntry', user_entry) client.queue_service_action_call('userentry', 'add', 'KalturaUserEntry', kparams) if (client.is_multirequest) return nil end return client.do_queue() end
bulk_delete(filter)
click to toggle source
@return [int]
# File lib/kaltura_client.rb, line 5356 def bulk_delete(filter) kparams = {} client.add_param(kparams, 'filter', filter) client.queue_service_action_call('userentry', 'bulkDelete', 'int', kparams) if (client.is_multirequest) return nil end return client.do_queue() end
delete(id)
click to toggle source
@return [KalturaUserEntry]
# File lib/kaltura_client.rb, line 5367 def delete(id) kparams = {} client.add_param(kparams, 'id', id) client.queue_service_action_call('userentry', 'delete', 'KalturaUserEntry', kparams) if (client.is_multirequest) return nil end return client.do_queue() end
get(id)
click to toggle source
@return [KalturaUserEntry]
# File lib/kaltura_client.rb, line 5378 def get(id) kparams = {} client.add_param(kparams, 'id', id) client.queue_service_action_call('userentry', 'get', 'KalturaUserEntry', kparams) if (client.is_multirequest) return nil end return client.do_queue() end
list(filter=KalturaNotImplemented, pager=KalturaNotImplemented)
click to toggle source
@return [KalturaUserEntryListResponse]
# File lib/kaltura_client.rb, line 5389 def list(filter=KalturaNotImplemented, pager=KalturaNotImplemented) kparams = {} client.add_param(kparams, 'filter', filter) client.add_param(kparams, 'pager', pager) client.queue_service_action_call('userentry', 'list', 'KalturaUserEntryListResponse', kparams) if (client.is_multirequest) return nil end return client.do_queue() end
submit_quiz(id)
click to toggle source
Submits the quiz so that it's status will be submitted and calculates the score for the quiz @return [KalturaQuizUserEntry]
# File lib/kaltura_client.rb, line 5402 def submit_quiz(id) kparams = {} client.add_param(kparams, 'id', id) client.queue_service_action_call('userentry', 'submitQuiz', 'KalturaQuizUserEntry', kparams) if (client.is_multirequest) return nil end return client.do_queue() end
update(id, user_entry)
click to toggle source
@return [KalturaUserEntry]
# File lib/kaltura_client.rb, line 5413 def update(id, user_entry) kparams = {} client.add_param(kparams, 'id', id) client.add_param(kparams, 'userEntry', user_entry) client.queue_service_action_call('userentry', 'update', 'KalturaUserEntry', kparams) if (client.is_multirequest) return nil end return client.do_queue() end