class MailInterceptor::InterceptorEnv

Public Instance Methods

intercept?() click to toggle source
# File lib/mail_interceptor.rb, line 59
def intercept?
  !Rails.env.production?
end
name() click to toggle source
# File lib/mail_interceptor.rb, line 55
def name
  Rails.env.upcase
end