Class: Cognizant::Process::Triggers::Trigger

Inherits:
Object
  • Object
show all
Defined in:
lib/cognizant/process/triggers/trigger.rb

Direct Known Subclasses

Flapping, Transition

Instance Method Summary collapse

Instance Method Details

#notify(transition) ⇒ Object



5
6
7
# File 'lib/cognizant/process/triggers/trigger.rb', line 5

def notify(transition)
  raise "Implement in subclass"
end

#reset!Object



9
10
11
# File 'lib/cognizant/process/triggers/trigger.rb', line 9

def reset!
  raise "Implement in subclass"
end