2004-11-23 20:04:44 -05:00
|
|
|
#--
|
2014-01-01 13:29:49 -05:00
|
|
|
# Copyright (c) 2004-2014 David Heinemeier Hansson
|
2004-11-23 20:04:44 -05:00
|
|
|
#
|
|
|
|
# Permission is hereby granted, free of charge, to any person obtaining
|
|
|
|
# a copy of this software and associated documentation files (the
|
|
|
|
# "Software"), to deal in the Software without restriction, including
|
|
|
|
# without limitation the rights to use, copy, modify, merge, publish,
|
|
|
|
# distribute, sublicense, and/or sell copies of the Software, and to
|
|
|
|
# permit persons to whom the Software is furnished to do so, subject to
|
|
|
|
# the following conditions:
|
|
|
|
#
|
|
|
|
# The above copyright notice and this permission notice shall be
|
|
|
|
# included in all copies or substantial portions of the Software.
|
|
|
|
#
|
|
|
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
|
|
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
|
|
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
|
|
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
|
|
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
|
|
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
|
|
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
|
#++
|
|
|
|
|
2010-01-29 10:16:01 -05:00
|
|
|
require 'abstract_controller'
|
2010-10-10 19:11:04 -04:00
|
|
|
require 'action_mailer/version'
|
2008-11-25 01:41:24 -05:00
|
|
|
|
2010-05-02 07:48:46 -04:00
|
|
|
# Common Active Support usage in Action Mailer
|
2012-08-02 12:07:20 -04:00
|
|
|
require 'active_support/rails'
|
2010-01-29 10:16:01 -05:00
|
|
|
require 'active_support/core_ext/class'
|
|
|
|
require 'active_support/core_ext/module/attr_internal'
|
|
|
|
require 'active_support/core_ext/string/inflections'
|
2010-03-07 09:24:30 -05:00
|
|
|
require 'active_support/lazy_load_hooks'
|
2010-01-29 10:16:01 -05:00
|
|
|
|
2008-11-23 13:27:25 -05:00
|
|
|
module ActionMailer
|
2009-12-02 23:01:01 -05:00
|
|
|
extend ::ActiveSupport::Autoload
|
|
|
|
|
2012-08-01 14:54:22 -04:00
|
|
|
eager_autoload do
|
|
|
|
autoload :Collector
|
|
|
|
end
|
|
|
|
|
2009-12-02 23:01:01 -05:00
|
|
|
autoload :Base
|
2010-01-19 09:34:58 -05:00
|
|
|
autoload :DeliveryMethods
|
2009-12-16 20:23:08 -05:00
|
|
|
autoload :MailHelper
|
2013-12-16 00:52:58 -05:00
|
|
|
autoload :Preview
|
|
|
|
autoload :Previews, 'action_mailer/preview'
|
2009-12-27 06:09:20 -05:00
|
|
|
autoload :TestCase
|
2009-12-02 23:01:01 -05:00
|
|
|
autoload :TestHelper
|
2014-08-13 17:50:38 -04:00
|
|
|
autoload :MessageDelivery
|
2014-08-14 19:47:38 -04:00
|
|
|
autoload :DeliveryJob
|
2008-11-23 13:27:25 -05:00
|
|
|
end
|