class Conductor::Worker
Attributes
task_type[RW]
Public Class Methods
new(task_type)
click to toggle source
# File lib/nf-conductor/worker/worker.rb, line 9 def initialize(task_type) self.task_type = task_type end
Public Instance Methods
execute(task)
click to toggle source
# File lib/nf-conductor/worker/worker.rb, line 13 def execute(task) method_not_implemented end
method_not_implemented()
click to toggle source
# File lib/nf-conductor/worker/worker.rb, line 5 def method_not_implemented raise "Conductor::Worker: Interface method must be implemented by worker subclass" end