Sha256: 26bc86701ab7ea11e5c44b9a5cd067d6925aa246008c20271e6927bc0bb9be6c
Contents?: true
Size: 1.35 KB
Versions: 3
Compression:
Stored size: 1.35 KB
Contents
# frozen_string_literal: true module Yoti module DocScan module Session module Create # # Requests creation of a Document Authenticity Check # class RequestedDocumentAuthenticityCheck < RequestedCheck def initialize(config) Validation.assert_is_a( RequestedDocumentAuthenticityCheckConfig, config, 'config' ) super(Constants::ID_DOCUMENT_AUTHENTICITY, config) end # # @return [RequestedDocumentAuthenticityCheckBuilder] # def self.builder RequestedDocumentAuthenticityCheckBuilder.new end end # # The configuration applied when creating a {RequestedDocumentAuthenticityCheck} # class RequestedDocumentAuthenticityCheckConfig def as_json(*_args) {} end end # # Builder to assist the creation of {RequestedDocumentAuthenticityCheck} # class RequestedDocumentAuthenticityCheckBuilder # # @return [RequestedDocumentAuthenticityCheck] # def build config = RequestedDocumentAuthenticityCheckConfig.new RequestedDocumentAuthenticityCheck.new(config) end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems