Class: Kaltura::KalturaExportcsvService

Inherits:
KalturaServiceBase show all
Defined in:
lib/kaltura_client.rb

Overview

Export CSV service is used to manage CSV exports of objects

Instance Attribute Summary

Attributes inherited from KalturaServiceBase

#client

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ KalturaExportcsvService

Returns a new instance of KalturaExportcsvService.



1646
1647
1648
# File 'lib/kaltura_client.rb', line 1646

def initialize(client)
	super(client)
end

Instance Method Details

#serve_csv(id) ⇒ string

Will serve a requested CSV

Returns:

  • (string)


1652
1653
1654
1655
1656
1657
1658
1659
1660
# File 'lib/kaltura_client.rb', line 1652

def serve_csv(id)
	kparams = {}
	client.add_param(kparams, 'id', id)
	client.queue_service_action_call('exportcsv', 'serveCsv', 'string', kparams)
	if (client.is_multirequest)
		return nil
	end
	return client.do_queue()
end