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.
12994 12995 12996 |
# File 'lib/kaltura_client.rb', line 12994 def initialize(client) super(client) end |
Instance Method Details
#add(syndication_feed) ⇒ Object
Add new Syndication Feed
13000 13001 13002 13003 13004 13005 13006 13007 13008 |
# File 'lib/kaltura_client.rb', line 13000 def add() kparams = {} client.add_param(kparams, 'syndicationFeed', ); client.queue_service_action_call('syndicationfeed', 'add', kparams); if (client.is_multirequest) return nil; end return client.do_queue(); end |
#delete(id) ⇒ Object
Delete Syndication Feed by ID
13037 13038 13039 13040 13041 13042 13043 13044 13045 |
# File 'lib/kaltura_client.rb', line 13037 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
13012 13013 13014 13015 13016 13017 13018 13019 13020 |
# File 'lib/kaltura_client.rb', line 13012 def get(id) kparams = {} client.add_param(kparams, 'id', id); client.queue_service_action_call('syndicationfeed', 'get', 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
13062 13063 13064 13065 13066 13067 13068 13069 13070 |
# File 'lib/kaltura_client.rb', line 13062 def get_entry_count(feed_id) kparams = {} client.add_param(kparams, 'feedId', feed_id); client.queue_service_action_call('syndicationfeed', 'getEntryCount', 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
13049 13050 13051 13052 13053 13054 13055 13056 13057 13058 |
# File 'lib/kaltura_client.rb', line 13049 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', 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
13075 13076 13077 13078 13079 13080 13081 13082 13083 |
# File 'lib/kaltura_client.rb', line 13075 def request_conversion(feed_id) kparams = {} client.add_param(kparams, 'feedId', feed_id); client.queue_service_action_call('syndicationfeed', 'requestConversion', kparams); if (client.is_multirequest) return nil; end return client.do_queue(); end |
#update(id, syndication_feed) ⇒ Object
Update Syndication Feed by ID
13024 13025 13026 13027 13028 13029 13030 13031 13032 13033 |
# File 'lib/kaltura_client.rb', line 13024 def update(id, ) kparams = {} client.add_param(kparams, 'id', id); client.add_param(kparams, 'syndicationFeed', ); client.queue_service_action_call('syndicationfeed', 'update', kparams); if (client.is_multirequest) return nil; end return client.do_queue(); end |