chore: Move slack message concern to the helper (#7912)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
Reference in New Issue
Block a user