diff --git a/app/services/application_service.rb b/app/services/application_service.rb index 6185f03..401fe02 100644 --- a/app/services/application_service.rb +++ b/app/services/application_service.rb @@ -1,4 +1,6 @@ class ApplicationService + # This enables executing a service's `#call` method directly via + # `MyService.call(args)`, without creating a class instance it first. def self.call(*args, &block) new(*args, &block).call end