parent
fba7f40bee
commit
cf10f3d03b
40 changed files with 879 additions and 51 deletions
6
app/controllers/webhooks/sms_controller.rb
Normal file
6
app/controllers/webhooks/sms_controller.rb
Normal file
|
@ -0,0 +1,6 @@
|
|||
class Webhooks::SmsController < ActionController::API
|
||||
def process_payload
|
||||
Webhooks::SmsEventsJob.perform_later(params['_json']&.first&.to_unsafe_hash)
|
||||
head :ok
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue