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

Instance Method Details

#default_hostnameObject

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_recipientObject

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_senderObject

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