Class: Kaltura::Service::UiConfService

Inherits:
BaseService show all
Defined in:
lib/kaltura/service/ui_conf_service.rb

Instance Attribute Summary

Attributes inherited from BaseService

#client

Instance Method Summary collapse

Methods inherited from BaseService

#initialize, #perform_request

Constructor Details

This class inherits a constructor from Kaltura::Service::BaseService

Instance Method Details

#add(ui_conf) ⇒ Object



5
6
7
8
9
# File 'lib/kaltura/service/ui_conf_service.rb', line 5

def add(ui_conf)
	kparams = {}
	client.add_param(kparams, 'uiConf', ui_conf)
	perform_request('uiConf','add',kparams,false)
end

#clone(id) ⇒ Object



30
31
32
33
34
# File 'lib/kaltura/service/ui_conf_service.rb', line 30

def clone(id)
	kparams = {}
	client.add_param(kparams, 'id', id)
	perform_request('uiConf','clone',kparams,false)
end

#delete(id) ⇒ Object



24
25
26
27
28
# File 'lib/kaltura/service/ui_conf_service.rb', line 24

def delete(id)
	kparams = {}
	client.add_param(kparams, 'id', id)
	perform_request('uiConf','delete',kparams,false)
end

#get(id) ⇒ Object



18
19
20
21
22
# File 'lib/kaltura/service/ui_conf_service.rb', line 18

def get(id)
	kparams = {}
	client.add_param(kparams, 'id', id)
	perform_request('uiConf','get',kparams,false)
end

#list(filter = nil, pager = nil) ⇒ Object



43
44
45
46
47
48
# File 'lib/kaltura/service/ui_conf_service.rb', line 43

def list(filter=nil, pager=nil)
	kparams = {}
	client.add_param(kparams, 'filter', filter)
	client.add_param(kparams, 'pager', pager)
	perform_request('uiConf','list',kparams,false)
end

#list_templates(filter = nil, pager = nil) ⇒ Object



36
37
38
39
40
41
# File 'lib/kaltura/service/ui_conf_service.rb', line 36

def list_templates(filter=nil, pager=nil)
	kparams = {}
	client.add_param(kparams, 'filter', filter)
	client.add_param(kparams, 'pager', pager)
	perform_request('uiConf','listTemplates',kparams,false)
end

#update(id, ui_conf) ⇒ Object



11
12
13
14
15
16
# File 'lib/kaltura/service/ui_conf_service.rb', line 11

def update(id, ui_conf)
	kparams = {}
	client.add_param(kparams, 'id', id)
	client.add_param(kparams, 'uiConf', ui_conf)
	perform_request('uiConf','update',kparams,false)
end