Skip to content

Instantly share code, notes, and snippets.

@apaciuk
Created November 5, 2022 13:10
Show Gist options
  • Save apaciuk/b45a1171036db2e1b360d996ad28b894 to your computer and use it in GitHub Desktop.
Save apaciuk/b45a1171036db2e1b360d996ad28b894 to your computer and use it in GitHub Desktop.

Revisions

  1. apaciuk created this gist Nov 5, 2022.
    6 changes: 6 additions & 0 deletions base service objects & active interactions
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    class ApplicationService
    # Global service class for all services
    def self.call(*args, &block)
    new(*args, &block).call
    end
    end