Class: Kaltura::KalturaSystemService

Inherits:
KalturaServiceBase show all
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

#client

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ KalturaSystemService

Returns a new instance of KalturaSystemService.



13089
13090
13091
# File 'lib/kaltura_client.rb', line 13089

def initialize(client)
	super(client)
end

Instance Method Details

#get_timeObject



13111
13112
13113
13114
13115
13116
13117
13118
# File 'lib/kaltura_client.rb', line 13111

def get_time()
	kparams = {}
	client.queue_service_action_call('system', 'getTime', kparams);
	if (client.is_multirequest)
		return nil;
	end
	return client.do_queue();
end

#pingObject



13093
13094
13095
13096
13097
13098
13099
13100
# File 'lib/kaltura_client.rb', line 13093

def ping()
	kparams = {}
	client.queue_service_action_call('system', 'ping', kparams);
	if (client.is_multirequest)
		return nil;
	end
	return client.do_queue();
end

#ping_databaseObject



13102
13103
13104
13105
13106
13107
13108
13109
# File 'lib/kaltura_client.rb', line 13102

def ping_database()
	kparams = {}
	client.queue_service_action_call('system', 'pingDatabase', kparams);
	if (client.is_multirequest)
		return nil;
	end
	return client.do_queue();
end