Class: Kaltura::KalturaExportcsvService
- Inherits:
-
KalturaServiceBase
- Object
- KalturaServiceBase
- Kaltura::KalturaExportcsvService
- 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
Instance Method Summary collapse
-
#initialize(client) ⇒ KalturaExportcsvService
constructor
A new instance of KalturaExportcsvService.
-
#serve_csv(id) ⇒ string
Will serve a requested CSV.
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
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 |