Module: TableSync::Instrument
Constant Summary collapse
- NOTIFIER_REQUIRED_ARGS =
i[table schema event count direction].freeze
Instance Method Summary collapse
Instance Method Details
#notify(**args) ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/table_sync/instrument.rb', line 8 def notify(**args) return unless TableSync.notify? raise(TableSync::InvalidConfig, ) if TableSync.notifier.nil? validate_args!(**args) TableSync.notifier.notify(**args) end |