Sha256: 0f7c6aeb2bc3ced02be5903e546a6b09ccae2032752dc0da77fdb26697f52820

Contents?: true

Size: 320 Bytes

Versions: 2

Compression:

Stored size: 320 Bytes

Contents

# frozen_string_literal: true

module TableSync::Publishing::Message
  class Batch < Base
    attribute :headers
    attribute :routing_key

    def params
      TableSync::Publishing::Params::Batch.new(
        object_class: object_class, headers: headers, routing_key: routing_key,
      ).construct
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
table_sync-6.0.2 lib/table_sync/publishing/message/batch.rb
table_sync-6.0 lib/table_sync/publishing/message/batch.rb