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.



1629
1630
1631
# File 'lib/kaltura_client.rb', line 1629

def initialize(client)
  super(client)
end

Instance Method Details

#serve_csv(id) ⇒ string

Will serve a requested CSV

Returns:

  • (string)


1635
1636
1637
1638
1639
1640
1641
1642
1643
# File 'lib/kaltura_client.rb', line 1635

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