Module: EffectiveMessaging
- Includes:
- EffectiveGem
- Defined in:
- lib/effective_messaging.rb,
lib/effective_messaging/engine.rb,
lib/effective_messaging/version.rb,
lib/generators/effective_messaging/install_generator.rb
Defined Under Namespace
Modules: Generators
Classes: Engine
Constant Summary
collapse
- VERSION =
'0.5.3'.freeze
Class Method Summary
collapse
Class Method Details
.config_keys ⇒ Object
8
9
10
11
12
13
14
15
|
# File 'lib/effective_messaging.rb', line 8
def self.config_keys
[
:chats_table_name, :chat_users_table_name, :chat_messages_table_name, :notifications_table_name, :notification_logs_table_name,
:layout,
:froms,
:mailer, :parent_mailer, :deliver_method, :mailer_layout, :mailer_sender, :mailer_admin, :mailer_subject
]
end
|
.mailer_class ⇒ Object
19
20
21
|
# File 'lib/effective_messaging.rb', line 19
def self.mailer_class
mailer&.constantize || Effective::MessagingMailer
end
|
.Notification ⇒ Object
23
24
25
|
# File 'lib/effective_messaging.rb', line 23
def self.Notification
Effective::Notification
end
|