Exception: PgAuditLog::Triggers::MissingTriggers

Inherits:
StandardError
  • Object
show all
Defined in:
lib/pg_audit_log/triggers.rb

Instance Method Summary collapse

Constructor Details

#initialize(tables) ⇒ MissingTriggers

Returns a new instance of MissingTriggers.



4
5
6
# File 'lib/pg_audit_log/triggers.rb', line 4

def initialize(tables)
  @tables = tables
end

Instance Method Details

#messageObject



7
8
9
# File 'lib/pg_audit_log/triggers.rb', line 7

def message
  "Missing PgAuditLog triggers for the following tables: #{@tables.join(', ')}"
end