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