Class: Kaltura::KalturaUnicornService

Inherits:
KalturaServiceBase show all
Defined in:
lib/kaltura_plugins/kaltura_unicorn_distribution_client_plugin.rb

Overview

Unicorn Service

Instance Attribute Summary

Attributes inherited from KalturaServiceBase

#client

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ KalturaUnicornService

Returns a new instance of KalturaUnicornService.



185
186
187
# File 'lib/kaltura_plugins/kaltura_unicorn_distribution_client_plugin.rb', line 185

def initialize(client)
	super(client)
end

Instance Method Details

#notify(id) ⇒ Object

Returns [].

Returns:



190
191
192
193
194
195
196
197
198
# File 'lib/kaltura_plugins/kaltura_unicorn_distribution_client_plugin.rb', line 190

def notify(id)
	kparams = {}
	client.add_param(kparams, 'id', id)
	client.queue_service_action_call('unicorndistribution_unicorn', 'notify', '', kparams)
	if (client.is_multirequest)
		return nil
	end
	return client.do_queue()
end