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.



4193
4194
4195
# File 'lib/kaltura_client.rb', line 4193

def initialize(client)
	super(client)
end

Instance Method Details

#serve(type) ⇒ file

Serves the requested XSD according to the type and name.

Returns:

  • (file)


4199
4200
4201
4202
4203
4204
# File 'lib/kaltura_client.rb', line 4199

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