blob: 6e3239d52a2052a70f9db682a031d01872e360a4 (
plain) (
tree)
|
|
module ActionMailer
module DeliveryMethod
# A delivery method implementation designed for testing, which just appends each record to the :deliveries array
class Test < Method
def perform_delivery(mail)
ActionMailer::Base.deliveries << mail
end
end
end
end
|