Class: Kaltura::Service::SystemPartnerService
Instance Attribute Summary
Attributes inherited from BaseService
#client
Instance Method Summary
collapse
Methods inherited from BaseService
#initialize, #perform_request
Instance Method Details
#get(partner_id) ⇒ Object
5
6
7
8
9
|
# File 'lib/kaltura/service/system_partner_service.rb', line 5
def get(partner_id)
kparams = {}
client.add_param(kparams, 'partnerId', partner_id)
perform_request('systemPartner','get',kparams,false)
end
|
#get_admin_session(partner_id) ⇒ Object
33
34
35
36
37
|
# File 'lib/kaltura/service/system_partner_service.rb', line 33
def get_admin_session(partner_id)
kparams = {}
client.add_param(kparams, 'partnerId', partner_id)
perform_request('systemPartner','getAdminSession',kparams,false)
end
|
#get_configuration(partner_id) ⇒ Object
46
47
48
49
50
|
# File 'lib/kaltura/service/system_partner_service.rb', line 46
def get_configuration(partner_id)
kparams = {}
client.add_param(kparams, 'partnerId', partner_id)
perform_request('systemPartner','getConfiguration',kparams,false)
end
|
#get_packages ⇒ Object
52
53
54
55
|
# File 'lib/kaltura/service/system_partner_service.rb', line 52
def get_packages()
kparams = {}
perform_request('systemPartner','getPackages',kparams,false)
end
|
#get_usage(partner_filter = nil, usage_filter = nil, pager = nil) ⇒ Object
11
12
13
14
15
16
17
|
# File 'lib/kaltura/service/system_partner_service.rb', line 11
def get_usage(partner_filter=nil, usage_filter=nil, =nil)
kparams = {}
client.add_param(kparams, 'partnerFilter', partner_filter)
client.add_param(kparams, 'usageFilter', usage_filter)
client.add_param(kparams, 'pager', )
perform_request('systemPartner','getUsage',kparams,false)
end
|
#list(filter = nil, pager = nil) ⇒ Object
19
20
21
22
23
24
|
# File 'lib/kaltura/service/system_partner_service.rb', line 19
def list(filter=nil, =nil)
kparams = {}
client.add_param(kparams, 'filter', filter)
client.add_param(kparams, 'pager', )
perform_request('systemPartner','list',kparams,false)
end
|
#update_configuration(partner_id, configuration) ⇒ Object
39
40
41
42
43
44
|
# File 'lib/kaltura/service/system_partner_service.rb', line 39
def update_configuration(partner_id, configuration)
kparams = {}
client.add_param(kparams, 'partnerId', partner_id)
client.add_param(kparams, 'configuration', configuration)
perform_request('systemPartner','updateConfiguration',kparams,false)
end
|
#update_status(partner_id, status) ⇒ Object
26
27
28
29
30
31
|
# File 'lib/kaltura/service/system_partner_service.rb', line 26
def update_status(partner_id, status)
kparams = {}
client.add_param(kparams, 'partnerId', partner_id)
client.add_param(kparams, 'status', status)
perform_request('systemPartner','updateStatus',kparams,false)
end
|