added response for wrong epp path

This commit is contained in:
Oleg Hasjanov 2021-06-10 14:16:48 +03:00
parent 5b8b18f584
commit 4cf7a103c8
9 changed files with 91 additions and 28 deletions

View file

@ -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