Sha256: e35c7fac3e987c0d3e1f7725a1a2e62a7422fb8b533c34bb6bf8a16d579a292d
Contents?: true
Size: 267 Bytes
Versions: 10
Compression:
Stored size: 267 Bytes
Contents
module StripeLocal module WebhooksController < ApplicationController def events begin _event_ = Stripe::Event.retrieve params[:id] Webhook.publish _event_ head :ok rescue Stripe::StripeError head :unauthorized end end end end
Version data entries
10 entries across 10 versions & 1 rubygems