Class: AnalyticsOps::Governance::Auditor
- Inherits:
-
Object
- Object
- AnalyticsOps::Governance::Auditor
- Defined in:
- lib/analytics_ops/governance.rb,
sig/analytics_ops.rbs
Overview
Compares a governance snapshot with strict local expectations.
Constant Summary collapse
- EXPECTED_COLLECTIONS =
{ "expected_channel_groups" => %w[channel_groups display_name], "expected_calculated_metrics" => %w[calculated_metrics display_name], "expected_event_create_rules" => %w[event_create_rules destination_event], "expected_event_edit_rules" => %w[event_edit_rules display_name] }.freeze
Instance Method Summary collapse
- #call ⇒ Result
-
#initialize(snapshot:, settings:) ⇒ Auditor
constructor
A new instance of Auditor.
Constructor Details
#initialize(snapshot:, settings:) ⇒ Auditor
Returns a new instance of Auditor.
275 276 277 278 |
# File 'lib/analytics_ops/governance.rb', line 275 def initialize(snapshot:, settings:) @snapshot = snapshot @settings = settings || {} end |