mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
855e08d22d
This is imperfect in situations when a separation between regular files (such as uploads) and emails is necessary (for the purposes of regulatory compliance, proper compartmentalization, etc.) Solution: allow configuring ActionMailbox's storage service
18 lines
403 B
Ruby
18 lines
403 B
Ruby
# frozen_string_literal: true
|
|
|
|
require "action_mailbox/mail_ext"
|
|
|
|
module ActionMailbox
|
|
extend ActiveSupport::Autoload
|
|
|
|
autoload :Base
|
|
autoload :Router
|
|
autoload :TestCase
|
|
|
|
mattr_accessor :ingress
|
|
mattr_accessor :logger
|
|
mattr_accessor :incinerate, default: true
|
|
mattr_accessor :incinerate_after, default: 30.days
|
|
mattr_accessor :queues, default: {}
|
|
mattr_accessor :storage_service
|
|
end
|