Codeminer42/cm42-central

View on GitHub
app/services/service.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Service
  extend ActiveSupport::Concern

  included do
    def call(_)
      raise NotImplementedError
    end
  end

  module ClassMethods
    def call(*args)
      new.call(*args)
    end
  end
end