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.



1590
1591
1592
# File 'lib/kaltura_client.rb', line 1590

def initialize(client)
  super(client)
end

Instance Method Details

#serve_csv(id) ⇒ string

Will serve a requested CSV

Returns:

  • (string)


1596
1597
1598
1599
1600
1601
1602
1603
1604
# File 'lib/kaltura_client.rb', line 1596

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