method
register_interceptor
v4.2.7 -
Show latest stable
- Class:
ActionMailer::Base
register_interceptor(interceptor)public
Register an Interceptor which will be called before mail is sent. Either a class, string or symbol can be passed in as the Interceptor. If a string or symbol is passed in it will be camelized and constantized.