class ThingTask
Public Class Methods
new( webService, thing )
click to toggle source
The constructor method for thing task.
Calls superclass method
BaseTask::new
# File lib/tasks/thingTask.rb, line 11 def initialize( webService, thing ) super( webService, thing, true ) @web = webService @thing = thing end
Public Instance Methods
do_task_work()
click to toggle source
Do the work for the thing task.
# File lib/tasks/thingTask.rb, line 20 def do_task_work @web.add_thing( @thing ) end