Sha256: 0a56b58dfab2fd1898c4f0a78deef5640cc4b37c1d760b3752a2a8196d30fce2

Contents?: true

Size: 361 Bytes

Versions: 1

Compression:

Stored size: 361 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 show], param: :payment_id do
      get :capture, on: :member
    end
  end
  resources :webhooks, only: :create
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_nexio-0.2.2 config/routes.rb