Class: BarkestCore::ApplicationMailerBase

Inherits:
ActionMailer::Base
  • Object
show all
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

ApplicationMailer, ContactForm, UserMailer

Class Method Summary collapse

Class Method Details

.default_hostnameObject

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_recipientObject

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_senderObject

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