Sha256: f47c7a653954b202c20013c8c8afb940313d8103ee63a565c0b9866e06b501e5
Contents?: true
Size: 441 Bytes
Versions: 57
Compression:
Stored size: 441 Bytes
Contents
class WebhooksController < Auth::WebhooksController def sms_webhook ## send to a background job in the respective module. OtpJob.perform_later([nil,nil,"sms_webhook",JSON.generate(params)]) render :nothing => true, :status => 200 end def email_webhook ## send to a background job in the respective module. OtpJob.perform_later([nil,nil,"email_webhook",JSON.generate(params)]) render :nothing => true, :status => 200 end end
Version data entries
57 entries across 57 versions & 1 rubygems