chore: Move slack message concern to the helper (#7912)

This commit is contained in:
Muhsin Keloth
2023-09-19 11:09:23 +05:30
committed by GitHub
parent 0968aead6c
commit 0dd5104acb
2 changed files with 2 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
class Integrations::Slack::IncomingMessageBuilder class Integrations::Slack::IncomingMessageBuilder
include SlackMessageCreation include Integrations::Slack::SlackMessageHelper
attr_reader :params attr_reader :params
SUPPORTED_EVENT_TYPES = %w[event_callback url_verification].freeze SUPPORTED_EVENT_TYPES = %w[event_callback url_verification].freeze

View File

@@ -1,8 +1,4 @@
module SlackMessageCreation module Integrations::Slack::SlackMessageHelper
extend ActiveSupport::Concern
private
def create_message def create_message
return unless conversation return unless conversation