Sha256: 9b2ae387d623a3438d3d5eb1ef27399f48960b2ea3be1d3cd9d97efee1974fde

Contents?: true

Size: 631 Bytes

Versions: 2

Compression:

Stored size: 631 Bytes

Contents

# Copyright (c) 2022 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

2 entries across 2 versions & 1 rubygems

Version Path
contrast-agent-5.1.0 lib/contrast/config/exception_configuration.rb
contrast-agent-5.0.0 lib/contrast/config/exception_configuration.rb