Sha256: 49e554d190b85e7e5feea8b609923825039f2f2ae1120f1e03ae5862eccace14
Contents?: true
Size: 1.35 KB
Versions: 2
Compression:
Stored size: 1.35 KB
Contents
# frozen_string_literal: true module Yoti module DocScan module Session module Create # # Requests creation of an ID Document Comparison Check # class RequestedIdDocumentComparisonCheck < RequestedCheck def initialize(config) Validation.assert_is_a( RequestedIdDocumentComparisonCheckConfig, config, 'config' ) super(Constants::ID_DOCUMENT_COMPARISON, config) end # # @return [RequestedIdDocumentComparisonCheckBuilder] # def self.builder RequestedIdDocumentComparisonCheckBuilder.new end end # # The configuration applied when creating a {RequestedIdDocumentComparisonCheck} # class RequestedIdDocumentComparisonCheckConfig def as_json(*_args) {} end end # # Builder to assist the creation of {RequestedIdDocumentComparisonCheck} # class RequestedIdDocumentComparisonCheckBuilder # # @return [RequestedIdDocumentComparisonCheck] # def build config = RequestedIdDocumentComparisonCheckConfig.new RequestedIdDocumentComparisonCheck.new(config) end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
yoti-1.10.0 | lib/yoti/doc_scan/session/create/requested_id_document_comparison_check.rb |
yoti-1.9.0 | lib/yoti/doc_scan/session/create/requested_id_document_comparison_check.rb |