Module: ActiveInteractor::Interactor::InteractionMethods

Extended by:
ActiveSupport::Concern
Included in:
Base
Defined in:
lib/active_interactor/interactor/interaction_methods.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#interactObject



34
# File 'lib/active_interactor/interactor/interaction_methods.rb', line 34

def interact; end

#performObject



26
27
28
29
30
31
32
# File 'lib/active_interactor/interactor/interaction_methods.rb', line 26

def perform
  perform!
rescue Error => e
  e.result
rescue StandardError => e
  Result.failure(errors: e.message)
end

#rollbackObject



35
# File 'lib/active_interactor/interactor/interaction_methods.rb', line 35

def rollback; end