Class: Zenaton::Interfaces::Task Abstract
- Defined in:
- lib/zenaton/interfaces/task.rb
Overview
This class is abstract.
Subclass and override #handle to define your custom tasks
Direct Known Subclasses
Instance Method Summary collapse
-
#handle ⇒ Object
Child classes should implement the handle method.
Instance Method Details
#handle ⇒ Object
Child classes should implement the handle method
10 11 12 13 |
# File 'lib/zenaton/interfaces/task.rb', line 10 def handle raise NotImplemented, "Your workflow does not implement the `handle' method" end |