Class: Dekiru::MailSecurityInterceptor
- Inherits:
-
Object
- Object
- Dekiru::MailSecurityInterceptor
- Defined in:
- lib/dekiru/mail_security_interceptor.rb
Defined Under Namespace
Classes: NoToAdreessError
Instance Method Summary collapse
Instance Method Details
#delivering_email(mail) ⇒ Object
5 6 7 8 9 |
# File 'lib/dekiru/mail_security_interceptor.rb', line 5 def delivering_email(mail) if mail.to.blank? raise Dekiru::MailSecurityInterceptor::NoToAdreessError end end |