mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-11-04 04:57:51 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			8 lines
		
	
	
		
			222 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			222 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
class Api::V1::Integrations::WebhooksController < ApplicationController
 | 
						|
  def create
 | 
						|
    builder = Integrations::Slack::IncomingMessageBuilder.new(params)
 | 
						|
    response = builder.perform
 | 
						|
    render json: response
 | 
						|
  end
 | 
						|
end
 |