forked from postalserver/postal
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpostal.rb
More file actions
43 lines (39 loc) · 909 Bytes
/
postal.rb
File metadata and controls
43 lines (39 loc) · 909 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
module Postal
extend ActiveSupport::Autoload
eager_autoload do
autoload :AppLogger
autoload :BounceMessage
autoload :Config
autoload :Countries
autoload :DKIMHeader
autoload :Error
autoload :FastServer
autoload :Helpers
autoload :HTTP
autoload :HTTPSender
autoload :Job
autoload :LetsEncrypt
autoload :MessageDB
autoload :MessageInspection
autoload :MessageParser
autoload :MessageRequeuer
autoload :QueryString
autoload :RabbitMQ
autoload :ReplySeparator
autoload :RspecHelpers
autoload :SendResult
autoload :Sender
autoload :SMTPSender
autoload :SMTPServer
autoload :SpamCheck
autoload :UserCreator
autoload :Version
autoload :Worker
end
def self.eager_load!
super
Postal::MessageDB.eager_load!
Postal::FastServer.eager_load!
Postal::SMTPServer.eager_load!
end
end