Method: ActionMailer::Base.unregister_interceptor

Defined in:
actionmailer/lib/action_mailer/base.rb

.unregister_interceptor(interceptor) ⇒ Object

Unregister a previously registered Interceptor. 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.



554
555
556
# File 'actionmailer/lib/action_mailer/base.rb', line 554

def unregister_interceptor(interceptor)
  Mail.unregister_interceptor(observer_class_for(interceptor))
end