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.



4074
4075
4076
# File 'lib/kaltura_client.rb', line 4074

def initialize(client)
	super(client)
end

Instance Method Details

#serve(type) ⇒ file

Serves the requested XSD according to the type and name.

Returns:

  • (file)


4080
4081
4082
4083
4084
4085
# File 'lib/kaltura_client.rb', line 4080

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