18F/identity-idp

View on GitHub
app/services/doc_auth/mock/config.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# frozen_string_literal: true

module DocAuth
  module Mock
    Config = RedactedStruct.new(
      :dpi_threshold,
      :sharpness_threshold,
      :glare_threshold, # required
      :warn_notifier,
      keyword_init: true,
      allowed_members: [
        :dpi_threshold,
        :sharpness_threshold,
        :glare_threshold,
      ],
    ).freeze
  end
end