fixed ruby 3 support errors

This commit is contained in:
dinsmol 2021-09-06 15:23:35 +03:00
parent 62d1ba45a2
commit 6eeba2b3ab
4 changed files with 5 additions and 5 deletions

View file

@ -121,7 +121,7 @@ module EppErrors
err = { code: code, msg: t }
val = check_for_status(code, obj, val)
err[:value] = { val: val, obj: obj } if val.present?
self.errors.add(:epp_errors, err)
self.errors.add(:epp_errors, **err)
end
def check_for_status(code, obj, val)