Class: ClosedLoop::Machine::Callback
- Defined in:
- lib/closed_loop/machine/callback.rb
Constant Summary
Constants inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from ClosedLoop::Machine::Base
Instance Method Details
#perform!(target, user, options) ⇒ Object
4 5 6 |
# File 'lib/closed_loop/machine/callback.rb', line 4 def perform!(target, user, ) proc&.call(target, user, ) end |