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