Class: BarkestCore::ApplicationMailerBase
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- BarkestCore::ApplicationMailerBase
- Defined in:
- app/mailers/barkest_core/application_mailer_base.rb
Overview
This class defines the default behavior for mailers in this application.
Direct Known Subclasses
Class 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.
Class Method Details
.default_hostname ⇒ Object
Gets the default hostname for messages.
10 11 12 |
# File 'app/mailers/barkest_core/application_mailer_base.rb', line 10 def self.default_hostname @default_hostname ||= BarkestCore.email_config[:default_hostname] end |
.default_recipient ⇒ Object
Gets the default recipient for messages.
22 23 24 |
# File 'app/mailers/barkest_core/application_mailer_base.rb', line 22 def self.default_recipient @default_recipient ||= BarkestCore.email_config[:default_recipient] end |
.default_sender ⇒ Object
Gets the default sender for messages.
16 17 18 |
# File 'app/mailers/barkest_core/application_mailer_base.rb', line 16 def self.default_sender @default_sender ||= BarkestCore.email_config[:default_sender] end |