Class: Kaltura::KalturaSearchHistoryService
- Inherits:
-
KalturaServiceBase
- Object
- KalturaServiceBase
- Kaltura::KalturaSearchHistoryService
- Defined in:
- lib/kaltura_plugins/kaltura_search_history_client_plugin.rb
Instance Attribute Summary
Attributes inherited from KalturaServiceBase
Instance Method Summary collapse
-
#delete(search_term) ⇒ Object
[].
-
#initialize(client) ⇒ KalturaSearchHistoryService
constructor
A new instance of KalturaSearchHistoryService.
- #list(filter = KalturaNotImplemented) ⇒ KalturaESearchHistoryListResponse
Constructor Details
#initialize(client) ⇒ KalturaSearchHistoryService
Returns a new instance of KalturaSearchHistoryService.
89 90 91 |
# File 'lib/kaltura_plugins/kaltura_search_history_client_plugin.rb', line 89 def initialize(client) super(client) end |
Instance Method Details
#delete(search_term) ⇒ Object
Returns [].
94 95 96 97 98 99 100 101 102 |
# File 'lib/kaltura_plugins/kaltura_search_history_client_plugin.rb', line 94 def delete(search_term) kparams = {} client.add_param(kparams, 'searchTerm', search_term) client.queue_service_action_call('searchhistory_searchhistory', 'delete', '', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |
#list(filter = KalturaNotImplemented) ⇒ KalturaESearchHistoryListResponse
105 106 107 108 109 110 111 112 113 |
# File 'lib/kaltura_plugins/kaltura_search_history_client_plugin.rb', line 105 def list(filter=KalturaNotImplemented) kparams = {} client.add_param(kparams, 'filter', filter) client.queue_service_action_call('searchhistory_searchhistory', 'list', 'KalturaESearchHistoryListResponse', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |