Class: SmartId::Api::Authentication::Document

Inherits:
Base
  • Object
show all
Defined in:
lib/smart_id/api/authentication/document.rb

Constant Summary collapse

BASE_URI =
"authentication/document"

Instance Attribute Summary

Attributes inherited from Base

#authentication_hash

Instance Method Summary collapse

Methods inherited from Base

authenticate, #call

Constructor Details

#initialize(**opts) ⇒ Document

Returns a new instance of Document.



8
9
10
11
# File 'lib/smart_id/api/authentication/document.rb', line 8

def initialize(**opts)
  @document_number = opts[:document_number]
  super(**opts)
end