Class: Kaltura::KalturaZoomVendorService

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

Instance Attribute Summary

Attributes inherited from KalturaServiceBase

#client

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ KalturaZoomVendorService

Returns a new instance of KalturaZoomVendorService.



226
227
228
# File 'lib/kaltura_plugins/kaltura_vendor_client_plugin.rb', line 226

def initialize(client)
	super(client)
end

Instance Method Details

#de_authorizationstring

Returns:

  • (string)


231
232
233
234
235
236
237
238
# File 'lib/kaltura_plugins/kaltura_vendor_client_plugin.rb', line 231

def de_authorization()
	kparams = {}
	client.queue_service_action_call('vendor_zoomvendor', 'deAuthorization', 'string', kparams)
	if (client.is_multirequest)
		return nil
	end
	return client.do_queue()
end

#fetch_registration_page(tokens_data, iv) ⇒ Object

Returns [].

Returns:



241
242
243
244
245
246
247
248
249
250
# File 'lib/kaltura_plugins/kaltura_vendor_client_plugin.rb', line 241

def fetch_registration_page(tokens_data, iv)
	kparams = {}
	client.add_param(kparams, 'tokensData', tokens_data)
	client.add_param(kparams, 'iv', iv)
	client.queue_service_action_call('vendor_zoomvendor', 'fetchRegistrationPage', '', kparams)
	if (client.is_multirequest)
		return nil
	end
	return client.do_queue()
end

#get(partner_id) ⇒ KalturaZoomIntegrationSetting

Retrieve zoom integration setting object by partner id



254
255
256
257
258
259
260
261
262
# File 'lib/kaltura_plugins/kaltura_vendor_client_plugin.rb', line 254

def get(partner_id)
	kparams = {}
	client.add_param(kparams, 'partnerId', partner_id)
	client.queue_service_action_call('vendor_zoomvendor', 'get', 'KalturaZoomIntegrationSetting', kparams)
	if (client.is_multirequest)
		return nil
	end
	return client.do_queue()
end

#list(pager = KalturaNotImplemented) ⇒ KalturaZoomIntegrationSettingResponse

List KalturaZoomIntegrationSetting objects



266
267
268
269
270
271
272
273
274
# File 'lib/kaltura_plugins/kaltura_vendor_client_plugin.rb', line 266

def list(pager=KalturaNotImplemented)
	kparams = {}
	client.add_param(kparams, 'pager', pager)
	client.queue_service_action_call('vendor_zoomvendor', 'list', 'KalturaZoomIntegrationSettingResponse', kparams)
	if (client.is_multirequest)
		return nil
	end
	return client.do_queue()
end

#local_registration_page(jwt) ⇒ Object

Returns [].

Returns:



277
278
279
280
281
282
283
284
285
# File 'lib/kaltura_plugins/kaltura_vendor_client_plugin.rb', line 277

def local_registration_page(jwt)
	kparams = {}
	client.add_param(kparams, 'jwt', jwt)
	client.queue_service_action_call('vendor_zoomvendor', 'localRegistrationPage', '', kparams)
	if (client.is_multirequest)
		return nil
	end
	return client.do_queue()
end

#oauth_validationObject

load html page the that will ask the user for its KMC URL, derive the region of the user from it, and redirect to the registration page in the correct region, while forwarding the necessary code for registration

Returns:



290
291
292
293
294
295
296
297
# File 'lib/kaltura_plugins/kaltura_vendor_client_plugin.rb', line 290

def oauth_validation()
	kparams = {}
	client.queue_service_action_call('vendor_zoomvendor', 'oauthValidation', '', kparams)
	if (client.is_multirequest)
		return nil
	end
	return client.do_queue()
end

#pre_oauth_validationstring

Returns:

  • (string)


300
301
302
303
304
305
306
307
# File 'lib/kaltura_plugins/kaltura_vendor_client_plugin.rb', line 300

def pre_oauth_validation()
	kparams = {}
	client.queue_service_action_call('vendor_zoomvendor', 'preOauthValidation', 'string', kparams)
	if (client.is_multirequest)
		return nil
	end
	return client.do_queue()
end

#recording_completeObject

Returns [].

Returns:



310
311
312
313
314
315
316
317
# File 'lib/kaltura_plugins/kaltura_vendor_client_plugin.rb', line 310

def recording_complete()
	kparams = {}
	client.queue_service_action_call('vendor_zoomvendor', 'recordingComplete', '', kparams)
	if (client.is_multirequest)
		return nil
	end
	return client.do_queue()
end

#submit_registration(account_id, integration_setting) ⇒ string

Returns:

  • (string)


320
321
322
323
324
325
326
327
328
329
# File 'lib/kaltura_plugins/kaltura_vendor_client_plugin.rb', line 320

def submit_registration(, integration_setting)
	kparams = {}
	client.add_param(kparams, 'accountId', )
	client.add_param(kparams, 'integrationSetting', integration_setting)
	client.queue_service_action_call('vendor_zoomvendor', 'submitRegistration', 'string', kparams)
	if (client.is_multirequest)
		return nil
	end
	return client.do_queue()
end