Sha256: 8cda5f008f67d7ba57395e478188c8453bf8595f59ead1096a0c8c39840b7d39

Contents?: true

Size: 1.2 KB

Versions: 5

Compression:

Stored size: 1.2 KB

Contents

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

require 'contrast/agent/reporting/settings/application_settings'
require 'contrast/agent/reporting/settings/server_features'

module Contrast
  module Agent
    module Reporting
      # this class will hold the response from TS
      class Response
        # All of the settings from TeamServer that apply at the application level.
        # At least one, but not necessarily all, setting will differ from the agent's current set.
        # Agents are able to replace all application settings with those in this message.
        #
        # @return application_settings [Contrast::Agent::Reporting::Settings::ApplicationSettings]
        def application_settings
          @_application_settings ||= Contrast::Agent::Reporting::Settings::ApplicationSettings.new
        end

        # All of the feature server_features
        #
        # @return server_features [Contrast::Agent::Reporting::Settings::FeatureSettings]
        def server_features
          @_server_features ||= Contrast::Agent::Reporting::Settings::ServerFeatures.new
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
contrast-agent-6.0.0 lib/contrast/agent/reporting/reporting_utilities/response.rb
contrast-agent-5.3.0 lib/contrast/agent/reporting/reporting_utilities/response.rb
contrast-agent-5.2.0 lib/contrast/agent/reporting/reporting_utilities/response.rb
contrast-agent-5.1.0 lib/contrast/agent/reporting/reporting_utilities/response.rb
contrast-agent-5.0.0 lib/contrast/agent/reporting/reporting_utilities/response.rb