chore: Move slack message concern to the helper (#7912)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
class Integrations::Slack::IncomingMessageBuilder
|
||||
include SlackMessageCreation
|
||||
include Integrations::Slack::SlackMessageHelper
|
||||
attr_reader :params
|
||||
|
||||
SUPPORTED_EVENT_TYPES = %w[event_callback url_verification].freeze
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
module SlackMessageCreation
|
||||
extend ActiveSupport::Concern
|
||||
|
||||
private
|
||||
|
||||
module Integrations::Slack::SlackMessageHelper
|
||||
def create_message
|
||||
return unless conversation
|
||||
|
||||
Reference in New Issue
Block a user