mirror of
https://github.com/internetee/registry.git
synced 2025-07-24 19:48:28 +02:00
added response for wrong epp path
This commit is contained in:
parent
5b8b18f584
commit
4cf7a103c8
9 changed files with 91 additions and 28 deletions
|
@ -11,5 +11,10 @@ module Epp
|
|||
epp_errors.add(:epp_errors, code: '2000', msg: 'Unknown command')
|
||||
render_epp_response '/epp/error'
|
||||
end
|
||||
|
||||
def wrong_schema
|
||||
epp_errors.add(:epp_errors, code: '2100', msg: 'Wrong path')
|
||||
render_epp_response '/epp/error'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue