mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 00:12:03 +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
|
@ -22,7 +22,7 @@ module Repp
|
|||
return
|
||||
end
|
||||
|
||||
render_success(data: { domain: { name: @domain.name, id: @domain.uuid } })
|
||||
render_success(data: { domain: { name: @domain.name } })
|
||||
end
|
||||
|
||||
def bulk_renew
|
||||
|
|
|
@ -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