Module: Hanami::Interactor::Interface
- Defined in:
- lib/hanami/interactor.rb
Overview
Interactor interface
Instance Method Summary collapse
-
#call(*args, **kwargs) ⇒ Hanami::Interactor::Result
Triggers the operation and return a result.
Instance Method Details
#call(*args, **kwargs) ⇒ Hanami::Interactor::Result
Triggers the operation and return a result.
All the exposed instance variables will be available in the result.
ATTENTION: This must be implemented by the including class.
358 359 360 361 |
# File 'lib/hanami/interactor.rb', line 358 def call(*args, **kwargs) @__result = ::Hanami::Interactor::Result.new _call(*args, **kwargs) { super } end |