Class: Kaltura::KalturaLiveReportsService
- Inherits:
-
KalturaServiceBase
- Object
- KalturaServiceBase
- Kaltura::KalturaLiveReportsService
- Defined in:
- lib/kaltura_client.rb
Instance Attribute Summary
Attributes inherited from KalturaServiceBase
Instance Method Summary collapse
- #export_to_csv(report_type, params) ⇒ KalturaLiveReportExportResponse
- #get_events(report_type, filter = KalturaNotImplemented, pager = KalturaNotImplemented) ⇒ array
- #get_report(report_type, filter = KalturaNotImplemented, pager = KalturaNotImplemented) ⇒ KalturaLiveStatsListResponse
-
#initialize(client) ⇒ KalturaLiveReportsService
constructor
A new instance of KalturaLiveReportsService.
-
#serve_report(id) ⇒ string
Will serve a requested report.
Constructor Details
#initialize(client) ⇒ KalturaLiveReportsService
Returns a new instance of KalturaLiveReportsService.
2387 2388 2389 |
# File 'lib/kaltura_client.rb', line 2387 def initialize(client) super(client) end |
Instance Method Details
#export_to_csv(report_type, params) ⇒ KalturaLiveReportExportResponse
2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 |
# File 'lib/kaltura_client.rb', line 2392 def export_to_csv(report_type, params) kparams = {} client.add_param(kparams, 'reportType', report_type) client.add_param(kparams, 'params', params) client.queue_service_action_call('livereports', 'exportToCsv', 'KalturaLiveReportExportResponse', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |
#get_events(report_type, filter = KalturaNotImplemented, pager = KalturaNotImplemented) ⇒ array
2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 |
# File 'lib/kaltura_client.rb', line 2404 def get_events(report_type, filter=KalturaNotImplemented, pager=KalturaNotImplemented) kparams = {} client.add_param(kparams, 'reportType', report_type) client.add_param(kparams, 'filter', filter) client.add_param(kparams, 'pager', pager) client.queue_service_action_call('livereports', 'getEvents', 'KalturaReportGraph', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |
#get_report(report_type, filter = KalturaNotImplemented, pager = KalturaNotImplemented) ⇒ KalturaLiveStatsListResponse
2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 |
# File 'lib/kaltura_client.rb', line 2417 def get_report(report_type, filter=KalturaNotImplemented, pager=KalturaNotImplemented) kparams = {} client.add_param(kparams, 'reportType', report_type) client.add_param(kparams, 'filter', filter) client.add_param(kparams, 'pager', pager) client.queue_service_action_call('livereports', 'getReport', 'KalturaLiveStatsListResponse', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |
#serve_report(id) ⇒ string
Will serve a requested report
2431 2432 2433 2434 2435 2436 2437 2438 2439 |
# File 'lib/kaltura_client.rb', line 2431 def serve_report(id) kparams = {} client.add_param(kparams, 'id', id) client.queue_service_action_call('livereports', 'serveReport', 'string', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |