-
-
Notifications
You must be signed in to change notification settings - Fork 12
Home
Aaron Allen edited this page Jan 26, 2020
·
2 revisions
An interactor is a simple, single-purpose service object.
Interactors can be used to reduce the responsibility of your controllers, workers, and models and encapsulate your application's business logic. Each interactor represents one thing that your application does.
ActiveInteractor's main component is called an interactor, each interactor has it's own immutable context which contains everything the interactor needs to do its work. When an interactor does its single purpose, it affects its given context. For detailed usage details jump to any of the sections outlined below.
Technical documentation for the gem can be found on rubydoc.