Sha256: 6a6dee33e7ac2898cbf621a05594e4eeabc83831bc763404333ec4e1b0a8e521

Contents?: true

Size: 371 Bytes

Versions: 39

Compression:

Stored size: 371 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", to: "pay/webhooks/paddle#create" if Pay::Paddle.enabled?
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
pay-6.8.1 config/routes.rb
pay-6.8.0 config/routes.rb
pay-6.7.2 config/routes.rb
pay-6.7.1 config/routes.rb
pay-6.7.0 config/routes.rb
pay-6.6.1 config/routes.rb
pay-6.6.0 config/routes.rb
pay-6.5.0 config/routes.rb
pay-6.4.0 config/routes.rb
pay-6.3.4 config/routes.rb
pay-6.3.3 config/routes.rb
pay-6.3.2 config/routes.rb
pay-6.3.1 config/routes.rb
pay-6.3.0 config/routes.rb
pay-6.2.4 config/routes.rb
pay-6.2.3 config/routes.rb
pay-6.2.2 config/routes.rb
pay-6.2.1 config/routes.rb
pay-6.2.0 config/routes.rb
pay-6.1.2 config/routes.rb