Sha256: 0f53e7e9c4e18c07ac095b281d809f7b3d9c878f6bdd637613fbcaf9f5865583

Contents?: true

Size: 356 Bytes

Versions: 2

Compression:

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
solidus_nexio-0.2.1 config/routes.rb
solidus_nexio-0.2.0 config/routes.rb