get contact info through domain transferred code

This commit is contained in:
olegphenomenon 2022-12-05 13:50:31 +02:00
parent 07bd3fba63
commit bc31a8231b
2 changed files with 9 additions and 1 deletions

View file

@ -16,6 +16,10 @@ class Epp::Contact < Contact
throw(:abort)
end
def transferred_passwords
domains.pluck(:transfer_code)
end
class << self
# support legacy search
def find_by_epp_code(code)