Sha256: 0c68702ba7d92f06a3a01f864677ffe8573dc629e9cc7bdbd22577c315108172

Contents?: true

Size: 631 Bytes

Versions: 11

Compression:

Stored size: 631 Bytes

Contents

# Copyright (c) 2021 Contrast Security, Inc. See https://www.contrastsecurity.com/enduser-terms-0317a for more details.
# frozen_string_literal: true

module Contrast
  module Config
    # Common Configuration settings. Those in this section pertain to the
    # exception handling in Ruby, allowing for the override of Response Code
    # and Message when Security Exceptions are raised.
    class ExceptionConfiguration < BaseConfiguration
      KEYS = { capture: EMPTY_VALUE, override_status: EMPTY_VALUE, override_message: EMPTY_VALUE }.cs__freeze

      def initialize hsh
        super(hsh, KEYS)
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
contrast-agent-4.14.1 lib/contrast/config/exception_configuration.rb
contrast-agent-4.14.0 lib/contrast/config/exception_configuration.rb
contrast-agent-4.13.1 lib/contrast/config/exception_configuration.rb
contrast-agent-4.13.0 lib/contrast/config/exception_configuration.rb
contrast-agent-4.12.0 lib/contrast/config/exception_configuration.rb
contrast-agent-4.11.0 lib/contrast/config/exception_configuration.rb
contrast-agent-4.10.0 lib/contrast/config/exception_configuration.rb
contrast-agent-4.9.1 lib/contrast/config/exception_configuration.rb
contrast-agent-4.9.0 lib/contrast/config/exception_configuration.rb
contrast-agent-4.8.0 lib/contrast/config/exception_configuration.rb
contrast-agent-4.7.0 lib/contrast/config/exception_configuration.rb