Sha256: 608c2114a53659659d128d9469893b50a1f2fb2ee6cd20b81ca98f633ff9d4a0

Contents?: true

Size: 480 Bytes

Versions: 2

Compression:

Stored size: 480 Bytes

Contents

# frozen_string_literal: true

SolidusAfterpay::Engine.routes.draw do
  match '/callbacks/confirm', to: '/solidus_afterpay/callbacks#confirm', via: %i[get post]
  get '/callbacks/cancel', to: '/solidus_afterpay/callbacks#cancel'
  post '/checkouts', to: '/solidus_afterpay/checkouts#create'
  patch '/express_callbacks/:order_number', to: '/solidus_afterpay/express_callbacks#update'
  post '/express_callbacks/:order_number', to: '/solidus_afterpay/express_callbacks#create'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
solidus_afterpay-0.3.0 config/routes.rb
solidus_afterpay-0.2.0 config/routes.rb