Module: TableSync::InstrumentAdapter::ActiveSupport
- Defined in:
- lib/table_sync/instrument_adapter/active_support.rb
Class Method Summary collapse
Class Method Details
.notify(table:, schema:, event:, direction:, count: 1) ⇒ Object
7 8 9 10 11 12 13 14 |
# File 'lib/table_sync/instrument_adapter/active_support.rb', line 7 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 |