Created
November 5, 2022 13:10
-
-
Save apaciuk/b45a1171036db2e1b360d996ad28b894 to your computer and use it in GitHub Desktop.
base service objects & active interactions #service objects #active interactions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class ApplicationService | |
| # Global service class for all services | |
| def self.call(*args, &block) | |
| new(*args, &block).call | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment