Class: Kaltura::KalturaSchemaService

Inherits:
KalturaServiceBase show all
Defined in:
lib/kaltura_client.rb

Overview

Expose the schema definitions for syndication MRSS, bulk upload XML and other schema types.

Instance Attribute Summary

Attributes inherited from KalturaServiceBase

#client

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ KalturaSchemaService

Returns a new instance of KalturaSchemaService.



12658
12659
12660
# File 'lib/kaltura_client.rb', line 12658

def initialize(client)
	super(client)
end

Instance Method Details

#serve(type) ⇒ Object

Serves the requested XSD according to the type and name.



12664
12665
12666
12667
12668
12669
12670
# File 'lib/kaltura_client.rb', line 12664

def serve(type)
	kparams = {}
	#  
	client.add_param(kparams, 'type', type);
	client.queue_service_action_call('schema', 'serve', kparams);
	return client.get_serve_url();
end