Class: Kaltura::KalturaSyndicationFeedService
- Inherits:
-
KalturaServiceBase
- Object
- KalturaServiceBase
- Kaltura::KalturaSyndicationFeedService
- Defined in:
- lib/kaltura_client.rb
Overview
Add & Manage Syndication Feeds
Instance Attribute Summary
Attributes inherited from KalturaServiceBase
Instance Method Summary collapse
-
#add(syndication_feed) ⇒ Object
Add new Syndication Feed.
-
#delete(id) ⇒ Object
Delete Syndication Feed by ID.
-
#get(id) ⇒ Object
Get Syndication Feed by ID.
-
#get_entry_count(feed_id) ⇒ Object
get entry count for a syndication feed.
-
#initialize(client) ⇒ KalturaSyndicationFeedService
constructor
A new instance of KalturaSyndicationFeedService.
-
#list(filter = KalturaNotImplemented, pager = KalturaNotImplemented) ⇒ Object
List Syndication Feeds by filter with paging support.
-
#request_conversion(feed_id) ⇒ Object
request conversion for all entries that doesnt have the required flavor param returns a comma-separated ids of conversion jobs.
-
#update(id, syndication_feed) ⇒ Object
Update Syndication Feed by ID.
Constructor Details
#initialize(client) ⇒ KalturaSyndicationFeedService
Returns a new instance of KalturaSyndicationFeedService.
4378 4379 4380 |
# File 'lib/kaltura_client.rb', line 4378 def initialize(client) super(client) end |
Instance Method Details
#add(syndication_feed) ⇒ Object
Add new Syndication Feed
4384 4385 4386 4387 4388 4389 4390 4391 4392 |
# File 'lib/kaltura_client.rb', line 4384 def add() kparams = {} client.add_param(kparams, 'syndicationFeed', ) client.queue_service_action_call('syndicationfeed', 'add', 'KalturaBaseSyndicationFeed', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |
#delete(id) ⇒ Object
Delete Syndication Feed by ID
4421 4422 4423 4424 4425 4426 4427 4428 4429 |
# File 'lib/kaltura_client.rb', line 4421 def delete(id) kparams = {} client.add_param(kparams, 'id', id) client.queue_service_action_call('syndicationfeed', 'delete', '', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |
#get(id) ⇒ Object
Get Syndication Feed by ID
4396 4397 4398 4399 4400 4401 4402 4403 4404 |
# File 'lib/kaltura_client.rb', line 4396 def get(id) kparams = {} client.add_param(kparams, 'id', id) client.queue_service_action_call('syndicationfeed', 'get', 'KalturaBaseSyndicationFeed', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |
#get_entry_count(feed_id) ⇒ Object
get entry count for a syndication feed
4446 4447 4448 4449 4450 4451 4452 4453 4454 |
# File 'lib/kaltura_client.rb', line 4446 def get_entry_count(feed_id) kparams = {} client.add_param(kparams, 'feedId', feed_id) client.queue_service_action_call('syndicationfeed', 'getEntryCount', 'KalturaSyndicationFeedEntryCount', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |
#list(filter = KalturaNotImplemented, pager = KalturaNotImplemented) ⇒ Object
List Syndication Feeds by filter with paging support
4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 |
# File 'lib/kaltura_client.rb', line 4433 def list(filter=KalturaNotImplemented, pager=KalturaNotImplemented) kparams = {} client.add_param(kparams, 'filter', filter) client.add_param(kparams, 'pager', pager) client.queue_service_action_call('syndicationfeed', 'list', 'KalturaBaseSyndicationFeedListResponse', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |
#request_conversion(feed_id) ⇒ Object
request conversion for all entries that doesnt have the required flavor param returns a comma-separated ids of conversion jobs
4459 4460 4461 4462 4463 4464 4465 4466 4467 |
# File 'lib/kaltura_client.rb', line 4459 def request_conversion(feed_id) kparams = {} client.add_param(kparams, 'feedId', feed_id) client.queue_service_action_call('syndicationfeed', 'requestConversion', 'string', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |
#update(id, syndication_feed) ⇒ Object
Update Syndication Feed by ID
4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 |
# File 'lib/kaltura_client.rb', line 4408 def update(id, ) kparams = {} client.add_param(kparams, 'id', id) client.add_param(kparams, 'syndicationFeed', ) client.queue_service_action_call('syndicationfeed', 'update', 'KalturaBaseSyndicationFeed', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |