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.



4210
4211
4212
# File 'lib/kaltura_client.rb', line 4210

def initialize(client)
	super(client)
end

Instance Method Details

#serve(type) ⇒ file

Serves the requested XSD according to the type and name.

Returns:

  • (file)


4216
4217
4218
4219
4220
4221
# File 'lib/kaltura_client.rb', line 4216

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