lib/contrast/agent/assess/rule/base.rb in contrast-agent-3.10.2 vs lib/contrast/agent/assess/rule/base.rb in contrast-agent-3.11.0
- old
+ new
@@ -11,11 +11,11 @@
module Assess
module Rule
# The base class for each of our Assess Rules
class Base
include Contrast::Components::Interface
- access_component :logging, :analysis, :agent, :settings
+ access_component :agent, :analysis, :logging, :settings
def initialize
SETTINGS.assess_rules[name] = self
end
@@ -58,13 +58,9 @@
current_context.activity.findings << finding
end
def generate_hash finding
Contrast::Utils::HashDigest.generate_trigger_hash(finding)
- end
-
- def trace_tags
- @_trace_tags ||= ASSESS.tags.to_s
end
end
end
end
end