Module: Idnow::API::DownloadDocuments
- Included in:
- Client
- Defined in:
- lib/idnow/API/download_documents.rb
Instance Method Summary collapse
Instance Method Details
#download_default_document(document_definition_identifier) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/idnow/API/download_documents.rb', line 4 def download_default_document(document_definition_identifier) fail Idnow::AuthenticationException if @auth_token.nil? path = full_path_for("documentdefinitions/#{document_definition_identifier}/data") request = Idnow::GetRequest.new(path, '') execute(request, 'X-API-LOGIN-TOKEN' => @auth_token) end |