Module: Incline::Extensions::ActionMailerBase::ClassMethods
- Defined in:
- lib/incline/extensions/action_mailer_base.rb
Overview
Adds the extra class methods to the ApplicationMailer::Base class.
Instance Method Summary collapse
-
#default_hostname ⇒ Object
Gets the default hostname for messages.
-
#default_recipient ⇒ Object
Gets the default recipient for messages.
-
#default_sender ⇒ Object
Gets the default sender for messages.
Instance Method Details
#default_hostname ⇒ Object
Gets the default hostname for messages.
14 15 16 |
# File 'lib/incline/extensions/action_mailer_base.rb', line 14 def default_hostname @default_hostname ||= Incline::email_config[:default_hostname] end |
#default_recipient ⇒ Object
Gets the default recipient for messages.
26 27 28 |
# File 'lib/incline/extensions/action_mailer_base.rb', line 26 def default_recipient @default_recipient ||= Incline::email_config[:default_recipient] end |
#default_sender ⇒ Object
Gets the default sender for messages.
20 21 22 |
# File 'lib/incline/extensions/action_mailer_base.rb', line 20 def default_sender @default_sender ||= Incline::email_config[:sender] end |