Class: Kaltura::Service::UploadService
Instance Attribute Summary
Attributes inherited from BaseService
#client
Instance Method Summary
collapse
Methods inherited from BaseService
#initialize, #perform_request
Instance Method Details
#get_uploaded_file_token_by_file_name(file_name) ⇒ Object
11
12
13
14
15
|
# File 'lib/kaltura/service/upload_service.rb', line 11
def get_uploaded_file_token_by_file_name(file_name)
kparams = {}
client.add_param(kparams, 'fileName', file_name)
perform_request('upload','getUploadedFileTokenByFileName',kparams,false)
end
|
#upload(file_data) ⇒ Object
5
6
7
8
9
|
# File 'lib/kaltura/service/upload_service.rb', line 5
def upload(file_data)
kparams = {}
client.add_param(kparams, 'fileData', file_data)
perform_request('upload','upload',kparams,false)
end
|