Class: TableSync::Publishing::Params::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/table_sync/publishing/params/base.rb

Direct Known Subclasses

Batch, Single

Constant Summary collapse

DEFAULT_PARAMS =
{
  confirm_select: true,
  realtime: true,
  event: :table_sync,
}.freeze

Instance Method Summary collapse

Instance Method Details

#constructObject



11
12
13
14
15
16
17
# File 'lib/table_sync/publishing/params/base.rb', line 11

def construct
  DEFAULT_PARAMS.merge(
    routing_key:,
    headers:,
    exchange_name:,
  )
end