mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 14:44:47 +02:00
Add epp errors tto the concern itself
This commit is contained in:
parent
d4775ba5c5
commit
e15fed2cd0
5 changed files with 19 additions and 7 deletions
|
@ -55,13 +55,13 @@ module Epp
|
|||
|
||||
def renew
|
||||
authorize! :renew, Epp::Contact
|
||||
epp_errors << { code: '2101', msg: t(:'errors.messages.unimplemented_command') }
|
||||
epp_errors.add(:epp_errors, code: '2101', msg: t(:'errors.messages.unimplemented_command'))
|
||||
handle_errors
|
||||
end
|
||||
|
||||
def transfer
|
||||
authorize! :transfer, Epp::Contact
|
||||
epp_errors << { code: '2101', msg: t(:'errors.messages.unimplemented_command') }
|
||||
epp_errors.add(:epp_errors, code: '2101', msg: t(:'errors.messages.unimplemented_command'))
|
||||
handle_errors
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue