mirror of
https://github.com/internetee/registry.git
synced 2025-07-29 14:06:21 +02:00
Added birthday ident verification
This commit is contained in:
parent
34da6f250d
commit
55848e1000
5 changed files with 41 additions and 17 deletions
|
@ -136,7 +136,7 @@ module Repp
|
|||
desc 'Get proof of identity pdf file for a contact'
|
||||
def download_poi
|
||||
authorize! :verify, Epp::Contact
|
||||
ident_service = Eeid::IdentificationService.new
|
||||
ident_service = Eeid::IdentificationService.new(@contact.ident_type)
|
||||
response = ident_service.get_proof_of_identity(@contact.verification_id)
|
||||
|
||||
send_data response[:data], filename: "proof_of_identity_#{@contact.verification_id}.pdf",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue