Sha256: 328c22b54acd5d7eb5dee62284f4d2eb03375ae3dde933b1389d1cb95d1d3578

Contents?: true

Size: 500 Bytes

Versions: 5

Compression:

Stored size: 500 Bytes

Contents

# frozen_string_literal: true

Pay::Engine.routes.draw do
  resources :payments, only: [:show], module: :pay
  post "webhooks/stripe", to: "pay/webhooks/stripe#create" if Pay::Stripe.enabled?
  post "webhooks/braintree", to: "pay/webhooks/braintree#create" if Pay::Braintree.enabled?
  post "webhooks/paddle_billing", to: "pay/webhooks/paddle_billing#create" if Pay::PaddleBilling.enabled?
  post "webhooks/paddle_classic", to: "pay/webhooks/paddle_classic#create" if Pay::PaddleClassic.enabled?
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pay-7.3.0 config/routes.rb
pay-7.2.1 config/routes.rb
pay-7.1.1 config/routes.rb
pay-7.1.0 config/routes.rb
pay-7.0.0 config/routes.rb