class Yoti::DocScan::Session::Create::RequestedDocumentAuthenticityCheck

Requests creation of a Document Authenticity Check

Public Class Methods

builder() click to toggle source

@return [RequestedDocumentAuthenticityCheckBuilder]

# File lib/yoti/doc_scan/session/create/requested_document_authenticity_check.rb, line 24
def self.builder
  RequestedDocumentAuthenticityCheckBuilder.new
end
new(config) click to toggle source
# File lib/yoti/doc_scan/session/create/requested_document_authenticity_check.rb, line 11
def initialize(config)
  Validation.assert_is_a(
    RequestedDocumentAuthenticityCheckConfig,
    config,
    'config'
  )

  super(Constants::ID_DOCUMENT_AUTHENTICITY, config)
end