class FeedTask
Public Class Methods
new( webService, thing, category, message, feedOptions )
click to toggle source
Constructor method for feed task. Initialize feed attributes.
Calls superclass method
BaseTask::new
# File lib/tasks/feedTask.rb, line 11 def initialize( webService, thing, category, message, feedOptions ) super( webService, thing, false ) @web = webService @thing = thing @category = category @message = message @feedOptions = feedOptions end
Public Instance Methods
do_task_work()
click to toggle source
Do the work for the feed task.
# File lib/tasks/feedTask.rb, line 23 def do_task_work @web.add_feed( @thing, @category, @message, @feedOptions ) end