mirror of
https://github.com/internetee/registry.git
synced 2025-07-31 06:56:23 +02:00
Fixes after repp-apidoc update
This commit is contained in:
parent
c7701ce1b1
commit
26cb791586
11 changed files with 25 additions and 38 deletions
|
@ -7,7 +7,6 @@ module Repp
|
|||
|
||||
api :DELETE, '/repp/v1/domains/:domain_name/statuses/:status'
|
||||
param :domain_name, String, desc: 'Domain name'
|
||||
param :status, String, desc: 'Status to be removed'
|
||||
desc 'Remove status from specific domain'
|
||||
def destroy
|
||||
return editing_failed unless domain_with_status?(params[:id])
|
||||
|
@ -22,7 +21,6 @@ module Repp
|
|||
|
||||
api :PUT, '/repp/v1/domains/:domain_name/statuses/:status'
|
||||
param :domain_name, String, desc: 'Domain name'
|
||||
param :status, String, desc: 'Status to be added'
|
||||
desc 'Add status to specific domain'
|
||||
def update
|
||||
return editing_failed if domain_with_status?(params[:id])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue