class SmartId::Api::Authentication::Document

Constants

BASE_URI

Public Class Methods

new(**opts) click to toggle source
Calls superclass method SmartId::Api::Authentication::Base::new
# File lib/smart_id/api/authentication/document.rb, line 8
def initialize(**opts)
  @document_number = opts[:document_number]
  super(**opts)
end

Private Instance Methods

api_uri() click to toggle source
# File lib/smart_id/api/authentication/document.rb, line 15
def api_uri
  "#{BASE_URI}/#{@document_number}"
end