Class: Kaltura::KalturaSystemService
- Inherits:
-
KalturaServiceBase
- Object
- KalturaServiceBase
- Kaltura::KalturaSystemService
- Defined in:
- lib/kaltura_client.rb
Overview
System service is used for internal system helpers & to retrieve system level information
Instance Attribute Summary
Attributes inherited from KalturaServiceBase
Instance Method Summary collapse
- #get_health_check ⇒ string
- #get_time ⇒ int
- #get_version ⇒ string
-
#initialize(client) ⇒ KalturaSystemService
constructor
A new instance of KalturaSystemService.
- #ping ⇒ bool
- #ping_database ⇒ bool
Constructor Details
#initialize(client) ⇒ KalturaSystemService
Returns a new instance of KalturaSystemService.
4770 4771 4772 |
# File 'lib/kaltura_client.rb', line 4770 def initialize(client) super(client) end |
Instance Method Details
#get_health_check ⇒ string
4775 4776 4777 4778 4779 4780 4781 4782 |
# File 'lib/kaltura_client.rb', line 4775 def get_health_check() kparams = {} client.queue_service_action_call('system', 'getHealthCheck', 'string', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |
#get_time ⇒ int
4785 4786 4787 4788 4789 4790 4791 4792 |
# File 'lib/kaltura_client.rb', line 4785 def get_time() kparams = {} client.queue_service_action_call('system', 'getTime', 'int', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |
#get_version ⇒ string
4795 4796 4797 4798 4799 4800 4801 4802 |
# File 'lib/kaltura_client.rb', line 4795 def get_version() kparams = {} client.queue_service_action_call('system', 'getVersion', 'string', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |
#ping ⇒ bool
4805 4806 4807 4808 4809 4810 4811 4812 |
# File 'lib/kaltura_client.rb', line 4805 def ping() kparams = {} client.queue_service_action_call('system', 'ping', 'bool', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |
#ping_database ⇒ bool
4815 4816 4817 4818 4819 4820 4821 4822 |
# File 'lib/kaltura_client.rb', line 4815 def ping_database() kparams = {} client.queue_service_action_call('system', 'pingDatabase', 'bool', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |