Class: Zenaton::Interfaces::Task Abstract

Inherits:
Job
  • Object
show all
Defined in:
lib/zenaton/interfaces/task.rb

Overview

This class is abstract.

Subclass and override #handle to define your custom tasks

Direct Known Subclasses

Tasks::Wait

Instance Method Summary collapse

Instance Method Details

#handleObject

Child classes should implement the handle method

Raises:



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