Method: ActiveInteractor::Interactor::Perform::ClassMethods#perform
- Defined in:
- lib/active_interactor/interactor/perform.rb
#perform(context = {}, options = {}) ⇒ Class
Initialize a new interactor instance and call its #perform method. This is the default api to interact with all interactors.
38 39 40 |
# File 'lib/active_interactor/interactor/perform.rb', line 38 def perform(context = {}, = {}) new(context).().execute_perform end |