Class: Kaltura::KalturaSchemaService
- Inherits:
-
KalturaServiceBase
- Object
- KalturaServiceBase
- Kaltura::KalturaSchemaService
- 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
Instance Method Summary collapse
-
#initialize(client) ⇒ KalturaSchemaService
constructor
A new instance of KalturaSchemaService.
-
#serve(type) ⇒ file
Serves the requested XSD according to the type and name.
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.
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 |