mirror of
https://github.com/internetee/registry.git
synced 2025-07-27 21:16:12 +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
|
@ -94,7 +94,7 @@ module Epp
|
|||
end
|
||||
|
||||
def handle_errors(obj = nil)
|
||||
@errors ||= []
|
||||
@errors ||= ActiveModel::Errors.new(self)
|
||||
|
||||
if obj
|
||||
obj.construct_epp_errors
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue