Class: MailInterceptor::InterceptorEnv
- Inherits:
-
Object
- Object
- MailInterceptor::InterceptorEnv
- Defined in:
- lib/mail_interceptor.rb
Instance Method Summary collapse
Instance Method Details
#intercept? ⇒ Boolean
59 60 61 |
# File 'lib/mail_interceptor.rb', line 59 def intercept? !Rails.env.production? end |
#name ⇒ Object
55 56 57 |
# File 'lib/mail_interceptor.rb', line 55 def name Rails.env.upcase end |