mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
nodoc ActionMailer module from lib/action_mailer/*.rb
This commit is contained in:
parent
98d81def34
commit
328e876a15
9 changed files with 9 additions and 9 deletions
|
@ -5,7 +5,7 @@ require 'active_support/core_ext/hash/except'
|
||||||
require 'active_support/core_ext/module/anonymous'
|
require 'active_support/core_ext/module/anonymous'
|
||||||
require 'action_mailer/log_subscriber'
|
require 'action_mailer/log_subscriber'
|
||||||
|
|
||||||
module ActionMailer
|
module ActionMailer # :nodoc:
|
||||||
# Action Mailer allows you to send email from your application using a mailer model and views.
|
# Action Mailer allows you to send email from your application using a mailer model and views.
|
||||||
#
|
#
|
||||||
# = Mailer Models
|
# = Mailer Models
|
||||||
|
|
|
@ -2,7 +2,7 @@ require 'abstract_controller/collector'
|
||||||
require 'active_support/core_ext/hash/reverse_merge'
|
require 'active_support/core_ext/hash/reverse_merge'
|
||||||
require 'active_support/core_ext/array/extract_options'
|
require 'active_support/core_ext/array/extract_options'
|
||||||
|
|
||||||
module ActionMailer
|
module ActionMailer # :nodoc:
|
||||||
class Collector # :nodoc: all
|
class Collector # :nodoc: all
|
||||||
include AbstractController::Collector
|
include AbstractController::Collector
|
||||||
attr_reader :responses
|
attr_reader :responses
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
require 'tmpdir'
|
require 'tmpdir'
|
||||||
|
|
||||||
module ActionMailer
|
module ActionMailer # :nodoc:
|
||||||
# This module handles everything related to mail delivery, from registering
|
# This module handles everything related to mail delivery, from registering
|
||||||
# new delivery methods to configuring the mail object to be sent.
|
# new delivery methods to configuring the mail object to be sent.
|
||||||
module DeliveryMethods
|
module DeliveryMethods
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
module ActionMailer
|
module ActionMailer # :nodoc:
|
||||||
# Implements the ActiveSupport::LogSubscriber for logging notifications when
|
# Implements the ActiveSupport::LogSubscriber for logging notifications when
|
||||||
# email is delivered and received.
|
# email is delivered and received.
|
||||||
class LogSubscriber < ActiveSupport::LogSubscriber
|
class LogSubscriber < ActiveSupport::LogSubscriber
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
module ActionMailer
|
module ActionMailer # :nodoc:
|
||||||
# Provides helper methods for ActionMailer::Base that can be used for easily
|
# Provides helper methods for ActionMailer::Base that can be used for easily
|
||||||
# formatting messages, accessing mailer or message instances, and the
|
# formatting messages, accessing mailer or message instances, and the
|
||||||
# attachments list.
|
# attachments list.
|
||||||
|
|
|
@ -2,7 +2,7 @@ require "action_mailer"
|
||||||
require "rails"
|
require "rails"
|
||||||
require "abstract_controller/railties/routes_helpers"
|
require "abstract_controller/railties/routes_helpers"
|
||||||
|
|
||||||
module ActionMailer
|
module ActionMailer # :nodoc:
|
||||||
class Railtie < Rails::Railtie # :nodoc:
|
class Railtie < Rails::Railtie # :nodoc:
|
||||||
config.action_mailer = ActiveSupport::OrderedOptions.new
|
config.action_mailer = ActiveSupport::OrderedOptions.new
|
||||||
config.eager_load_namespaces << ActionMailer
|
config.eager_load_namespaces << ActionMailer
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
require 'active_support/test_case'
|
require 'active_support/test_case'
|
||||||
|
|
||||||
module ActionMailer
|
module ActionMailer # :nodoc:
|
||||||
class NonInferrableMailerError < ::StandardError
|
class NonInferrableMailerError < ::StandardError
|
||||||
def initialize(name)
|
def initialize(name)
|
||||||
super "Unable to determine the mailer to test from #{name}. " +
|
super "Unable to determine the mailer to test from #{name}. " +
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
module ActionMailer
|
module ActionMailer # :nodoc:
|
||||||
module TestHelper
|
module TestHelper
|
||||||
# Asserts that the number of emails sent matches the given number.
|
# Asserts that the number of emails sent matches the given number.
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
module ActionMailer
|
module ActionMailer # :nodoc:
|
||||||
# Returns the version of the currently loaded ActionMailer as a Gem::Version
|
# Returns the version of the currently loaded ActionMailer as a Gem::Version
|
||||||
def self.version
|
def self.version
|
||||||
Gem::Version.new "4.1.0.beta"
|
Gem::Version.new "4.1.0.beta"
|
||||||
|
|
Loading…
Reference in a new issue