Class: ActiveInteractor::Interactor::Base
- Inherits:
-
Object
- Object
- ActiveInteractor::Interactor::Base
- Includes:
- ContextMethods, InteractionMethods
- Defined in:
- lib/active_interactor/interactor/base.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(input = {}) ⇒ Base
constructor
A new instance of Base.
- #perform! ⇒ Object
Methods included from InteractionMethods
#interact, #perform, #rollback
Constructor Details
#initialize(input = {}) ⇒ Base
Returns a new instance of Base.
9 10 11 12 |
# File 'lib/active_interactor/interactor/base.rb', line 9 def initialize(input = {}) @raw_input = input.dup validate_input_and_generate_runtime_context! end |