Class: KalturaApi::KalturaAsperaService

Inherits:
KalturaServiceBase show all
Defined in:
lib/kaltura_plugins/kaltura_aspera_client_plugin.rb

Overview

Aspera service

Instance Attribute Summary

Attributes inherited from KalturaServiceBase

#client

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ KalturaAsperaService

Returns a new instance of KalturaAsperaService.



36
37
38
# File 'lib/kaltura_plugins/kaltura_aspera_client_plugin.rb', line 36

def initialize(client)
	super(client)
end

Instance Method Details

#get_fasp_url(flavor_asset_id) ⇒ Object



40
41
42
43
44
45
46
47
48
# File 'lib/kaltura_plugins/kaltura_aspera_client_plugin.rb', line 40

def get_fasp_url(flavor_asset_id)
	kparams = {}
	client.add_param(kparams, 'flavorAssetId', flavor_asset_id);
	client.queue_service_action_call('aspera_aspera', 'getFaspUrl', kparams);
	if (client.is_multirequest)
		return nil;
	end
	return client.do_queue();
end