Class: Kaltura::Service::AccessControlService
Instance Attribute Summary
Attributes inherited from BaseService
#client
Instance Method Summary
collapse
Methods inherited from BaseService
#initialize, #perform_request
Instance Method Details
#add(access_control) ⇒ Object
5
6
7
8
9
|
# File 'lib/kaltura/service/access_control_service.rb', line 5
def add(access_control)
kparams = {}
client.add_param(kparams, 'accessControl', access_control)
perform_request('accessControl','add',kparams,false)
end
|
#delete(id) ⇒ Object
24
25
26
27
28
|
# File 'lib/kaltura/service/access_control_service.rb', line 24
def delete(id)
kparams = {}
client.add_param(kparams, 'id', id)
perform_request('accessControl','delete',kparams,false)
end
|
#get(id) ⇒ Object
11
12
13
14
15
|
# File 'lib/kaltura/service/access_control_service.rb', line 11
def get(id)
kparams = {}
client.add_param(kparams, 'id', id)
perform_request('accessControl','get',kparams,false)
end
|
#list(filter = nil, pager = nil) ⇒ Object
30
31
32
33
34
35
|
# File 'lib/kaltura/service/access_control_service.rb', line 30
def list(filter=nil, =nil)
kparams = {}
client.add_param(kparams, 'filter', filter)
client.add_param(kparams, 'pager', )
perform_request('accessControl','list',kparams,false)
end
|
#update(id, access_control) ⇒ Object
17
18
19
20
21
22
|
# File 'lib/kaltura/service/access_control_service.rb', line 17
def update(id, access_control)
kparams = {}
client.add_param(kparams, 'id', id)
client.add_param(kparams, 'accessControl', access_control)
perform_request('accessControl','update',kparams,false)
end
|