Class: Kaltura::Service::SyndicationFeedService

Inherits:
BaseService
  • Object
show all
Defined in:
lib/kaltura/service/syndication_feed_service.rb

Instance Attribute Summary

Attributes inherited from BaseService

#client

Instance Method Summary collapse

Methods inherited from BaseService

#initialize, #perform_request

Constructor Details

This class inherits a constructor from Kaltura::Service::BaseService

Instance Method Details

#add(syndication_feed) ⇒ Object



5
6
7
8
9
# File 'lib/kaltura/service/syndication_feed_service.rb', line 5

def add(syndication_feed)
	kparams = {}
	client.add_param(kparams, 'syndicationFeed', syndication_feed)
	perform_request('syndicationFeed','add',kparams,false)
end

#delete(id) ⇒ Object



24
25
26
27
28
# File 'lib/kaltura/service/syndication_feed_service.rb', line 24

def delete(id)
	kparams = {}
	client.add_param(kparams, 'id', id)
	perform_request('syndicationFeed','delete',kparams,false)
end

#get(id) ⇒ Object



11
12
13
14
15
# File 'lib/kaltura/service/syndication_feed_service.rb', line 11

def get(id)
	kparams = {}
	client.add_param(kparams, 'id', id)
	perform_request('syndicationFeed','get',kparams,false)
end

#get_entry_count(feed_id) ⇒ Object



37
38
39
40
41
# File 'lib/kaltura/service/syndication_feed_service.rb', line 37

def get_entry_count(feed_id)
	kparams = {}
	client.add_param(kparams, 'feedId', feed_id)
	perform_request('syndicationFeed','getEntryCount',kparams,false)
end

#list(filter = nil, pager = nil) ⇒ Object



30
31
32
33
34
35
# File 'lib/kaltura/service/syndication_feed_service.rb', line 30

def list(filter=nil, pager=nil)
	kparams = {}
	client.add_param(kparams, 'filter', filter)
	client.add_param(kparams, 'pager', pager)
	perform_request('syndicationFeed','list',kparams,false)
end

#request_conversion(feed_id) ⇒ Object



43
44
45
46
47
# File 'lib/kaltura/service/syndication_feed_service.rb', line 43

def request_conversion(feed_id)
	kparams = {}
	client.add_param(kparams, 'feedId', feed_id)
	perform_request('syndicationFeed','requestConversion',kparams,false)
end

#update(id, syndication_feed) ⇒ Object



17
18
19
20
21
22
# File 'lib/kaltura/service/syndication_feed_service.rb', line 17

def update(id, syndication_feed)
	kparams = {}
	client.add_param(kparams, 'id', id)
	client.add_param(kparams, 'syndicationFeed', syndication_feed)
	perform_request('syndicationFeed','update',kparams,false)
end