Class: ClosedLoop::Machine::Callback

Inherits:
Base
  • Object
show all
Defined in:
lib/closed_loop/machine/callback.rb

Constant Summary

Constants inherited from Base

Base::ATTRIBUTES

Instance Method Summary collapse

Methods inherited from Base

#initialize

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, options)
  proc&.call(target, user, options)
end