Module: CommandTower::Services::Messaging::Preferences::PlatformEnabledChannels
- Defined in:
- app/services/command_tower/services/messaging/preferences/platform_enabled_channels.rb
Overview
Resolves host-injected platform channel enablement without reverse dependencies. Hosts assign config.messaging.platform_enabled_channels.
Class Method Summary collapse
Class Method Details
.call ⇒ Object
12 13 14 15 |
# File 'app/services/command_tower/services/messaging/preferences/platform_enabled_channels.rb', line 12 def call resolver = CommandTower.config.messaging.platform_enabled_channels Array(resolver.call).map(&:to_s) end |