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
6 7 8 9 10 11 12 |
# File 'lib/idnow/API/download_documents.rb', line 6 def download_default_document(document_definition_identifier) raise 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 |