Sha256: 70475a9b50b99e8ba50a5fef96152d41c0d99a4b04938116c9333e194fef2697

Contents?: true

Size: 529 Bytes

Versions: 14

Compression:

Stored size: 529 Bytes

Contents

# frozen_string_literal: true

SolidusNexio::Engine.routes.draw do
  resources :payment_methods, only: [] do
    resources :one_time_tokens, only: %i[create]
    resources :credit_cards, only: %i[create]
    resources :payments, only: %i[create] do
      resource :state, only: %i[show], controller: 'payment_states' do
        get :capture
      end
    end
    resources :alternative_payments, only: [] do
      get :capture, on: :collection
      get :state, on: :member
    end
  end
  resources :webhooks, only: :create
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
solidus_nexio-1.0.1 config/routes.rb
solidus_nexio-1.0.0 config/routes.rb
solidus_nexio-0.7.12 config/routes.rb
solidus_nexio-0.7.11 config/routes.rb
solidus_nexio-0.7.10 config/routes.rb
solidus_nexio-0.7.9 config/routes.rb
solidus_nexio-0.7.8 config/routes.rb
solidus_nexio-0.7.7 config/routes.rb
solidus_nexio-0.7.6 config/routes.rb
solidus_nexio-0.7.5 config/routes.rb
solidus_nexio-0.7.4 config/routes.rb
solidus_nexio-0.7.3 config/routes.rb
solidus_nexio-0.7.1 config/routes.rb
solidus_nexio-0.7.0 config/routes.rb