Method: ActiveInteractor::Interactor::Worker#execute_perform

Defined in:
lib/active_interactor/interactor/worker.rb

#execute_performClass

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Run the interactor instance's #perform with callbacks and validation.

Returns:

Since:

  • 0.1.0



23
24
25
26
27
28
# File 'lib/active_interactor/interactor/worker.rb', line 23

def execute_perform
  execute_perform!
rescue Error::ContextFailure => e
  ActiveInteractor.logger.error("ActiveInteractor: #{e}")
  context
end