Sha256: a4481d70e0731bde2720e6e5c0ba3a546fd61f2fa75b674cf7febe8245575f19
Contents?: true
Size: 364 Bytes
Versions: 15
Compression:
Stored size: 364 Bytes
Contents
module PlaidRails class WebhooksController < ApplicationController skip_before_filter :verify_authenticity_token def create @webhook = PlaidRails::Webhook.create!(webhook_params) render json: @webhook end private def webhook_params params.require(:webhook).permit(:code, :message, :access_token) end end end
Version data entries
15 entries across 15 versions & 1 rubygems