Class: Kaltura::Service::SearchService
Instance Attribute Summary
Attributes inherited from BaseService
#client
Instance Method Summary
collapse
Methods inherited from BaseService
#initialize, #perform_request
Instance Method Details
#external_login(search_source, user_name, password) ⇒ Object
25
26
27
28
29
30
31
|
# File 'lib/kaltura/service/search_service.rb', line 25
def external_login(search_source, user_name, password)
kparams = {}
client.add_param(kparams, 'searchSource', search_source)
client.add_param(kparams, 'userName', user_name)
client.add_param(kparams, 'password', password)
perform_request('search','externalLogin',kparams,false)
end
|
12
13
14
15
16
|
# File 'lib/kaltura/service/search_service.rb', line 12
def get_media_info(search_result)
kparams = {}
client.add_param(kparams, 'searchResult', search_result)
perform_request('search','getMediaInfo',kparams,false)
end
|
#search(search, pager = nil) ⇒ Object
5
6
7
8
9
10
|
# File 'lib/kaltura/service/search_service.rb', line 5
def search(search, =nil)
kparams = {}
client.add_param(kparams, 'search', search)
client.add_param(kparams, 'pager', )
perform_request('search','search',kparams,false)
end
|
#search_url(media_type, url) ⇒ Object
18
19
20
21
22
23
|
# File 'lib/kaltura/service/search_service.rb', line 18
def search_url(media_type, url)
kparams = {}
client.add_param(kparams, 'mediaType', media_type)
client.add_param(kparams, 'url', url)
perform_request('search','searchUrl',kparams,false)
end
|