task.rb

Path: app/models/task.rb
Last Update: Tue Sep 16 17:28:08 -0300 2008

Task is the base class of … tasks! Its instances represents tasks that must be confirmed by someone (like an environment administrator) or by noosfero itself.

The specific types of tasks must override the perform method, so the actual action associated to the type of task can be performed. See the documentation of the perform method for details.

This class has a data field of type text, where you can store any type of data (as serialized Ruby objects) you need for your subclass (which will need to declare <ttserialize</tt> itself).

[Validate]