Class: Kaltura::KalturaSyndicationFeedService
- Inherits:
-
KalturaServiceBase
- Object
- KalturaServiceBase
- Kaltura::KalturaSyndicationFeedService
- Defined in:
- lib/kaltura_client.rb
Instance Attribute Summary
Attributes inherited from KalturaServiceBase
Instance Method Summary collapse
- #add(syndication_feed) ⇒ Object
- #delete(id) ⇒ Object
- #get(id) ⇒ Object
- #get_entry_count(feed_id) ⇒ Object
-
#initialize(client) ⇒ KalturaSyndicationFeedService
constructor
A new instance of KalturaSyndicationFeedService.
- #list(filter = nil, pager = nil) ⇒ Object
- #request_conversion(feed_id) ⇒ Object
- #update(id, syndication_feed) ⇒ Object
Constructor Details
#initialize(client) ⇒ KalturaSyndicationFeedService
Returns a new instance of KalturaSyndicationFeedService.
4856 4857 4858 |
# File 'lib/kaltura_client.rb', line 4856 def initialize(client) super(client) end |
Instance Method Details
#add(syndication_feed) ⇒ Object
4860 4861 4862 4863 4864 4865 4866 4867 4868 |
# File 'lib/kaltura_client.rb', line 4860 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
4891 4892 4893 4894 4895 4896 4897 4898 4899 |
# File 'lib/kaltura_client.rb', line 4891 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
4870 4871 4872 4873 4874 4875 4876 4877 4878 |
# File 'lib/kaltura_client.rb', line 4870 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
4912 4913 4914 4915 4916 4917 4918 4919 4920 |
# File 'lib/kaltura_client.rb', line 4912 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 = nil, pager = nil) ⇒ Object
4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 |
# File 'lib/kaltura_client.rb', line 4901 def list(filter=nil, pager=nil) 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
4922 4923 4924 4925 4926 4927 4928 4929 4930 |
# File 'lib/kaltura_client.rb', line 4922 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
4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 |
# File 'lib/kaltura_client.rb', line 4880 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 |