mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-19 12:35:06 +00:00
22 lines
387 B
Ruby
22 lines
387 B
Ruby
class Twilio::DeliveryStatusController < ApplicationController
|
|
def create
|
|
::Twilio::DeliveryStatusService.new(params: permitted_params).perform
|
|
|
|
head :no_content
|
|
end
|
|
|
|
private
|
|
|
|
def permitted_params
|
|
params.permit(
|
|
:AccountSid,
|
|
:From,
|
|
:MessageSid,
|
|
:MessagingServiceSid,
|
|
:MessageStatus,
|
|
:ErrorCode,
|
|
:ErrorMessage
|
|
)
|
|
end
|
|
end
|