Class: ActiveInteractor::Interactor::Base
- Inherits:
-
Object
- Object
- ActiveInteractor::Interactor::Base
- Includes:
- ContextMethods, InteractionMethods, Type::DeclerationMethods
- Defined in:
- lib/active_interactor/interactor/base.rb
Direct Known Subclasses
Constant Summary
Constants included from Type::DeclerationMethods
Type::DeclerationMethods::Boolean
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.
10 11 12 13 |
# File 'lib/active_interactor/interactor/base.rb', line 10 def initialize(input = {}) @raw_input = input.dup validate_input_and_generate_runtime_context! end |