Added additional tests to REPP API

This commit is contained in:
Sergei Tsõganov 2022-06-08 12:07:21 +03:00
parent b505de2f0f
commit b502c2779e
21 changed files with 796 additions and 7 deletions

View file

@ -87,11 +87,11 @@ Rails.application.routes.draw do
resources :invoices, only: %i[index show] do
collection do
get ':id/download', to: 'invoices#download'
get ':id/cancel', to: 'invoices#cancel'
post 'add_credit'
end
member do
post 'send_to_recipient', to: 'invoices#send_to_recipient'
put 'cancel', to: 'invoices#cancel'
end
end
resources :auctions, only: %i[index]