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.
4697 4698 4699 |
# File 'lib/kaltura_client.rb', line 4697 def initialize(client) super(client) end |
Instance Method Details
#get_health_check ⇒ string
4702 4703 4704 4705 4706 4707 4708 4709 |
# File 'lib/kaltura_client.rb', line 4702 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
4712 4713 4714 4715 4716 4717 4718 4719 |
# File 'lib/kaltura_client.rb', line 4712 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
4722 4723 4724 4725 4726 4727 4728 4729 |
# File 'lib/kaltura_client.rb', line 4722 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
4732 4733 4734 4735 4736 4737 4738 4739 |
# File 'lib/kaltura_client.rb', line 4732 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
4742 4743 4744 4745 4746 4747 4748 4749 |
# File 'lib/kaltura_client.rb', line 4742 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 |