Sha256: 684b4614f144eaa651d8d76ad3027584067ea168429bd37b57c554a34d39c00a
Contents?: true
Size: 603 Bytes
Versions: 28
Compression:
Stored size: 603 Bytes
Contents
# frozen_string_literal: true module TableSync::InstrumentAdapter module ActiveSupport module_function def notify(table:, schema:, event:, direction:, count: 1) ::ActiveSupport::Notifications.instrument "tablesync.#{direction}.#{event}", count: count, table: table.to_s, schema: schema.to_s, event: event, direction: direction end end end
Version data entries
28 entries across 28 versions & 1 rubygems