Class: ActionMailer::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/double_auth_engine/generators/double_auth_engine/templates/setup_mail_initializer.rb

Direct Known Subclasses

Notifier

Instance Method Summary collapse

Instance Method Details

#from_with_default(input = nil) ⇒ Object



2
3
4
5
# File 'lib/double_auth_engine/generators/double_auth_engine/templates/setup_mail_initializer.rb', line 2

def from_with_default(input=nil)
  return from_without_default(input) || "[email protected]" if input.nil?
  from_without_default(input)
end