Sha256: 70768e65493f76dc029cd2282f82020bada15802531d3a73e85479c28d42d028

Contents?: true

Size: 313 Bytes

Versions: 9

Compression:

Stored size: 313 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(
        attributes.slice(:object_class, :headers, :routing_key).compact,
      ).construct
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
table_sync-6.5.1 lib/table_sync/publishing/message/batch.rb
table_sync-6.5.0 lib/table_sync/publishing/message/batch.rb
table_sync-6.4.2 lib/table_sync/publishing/message/batch.rb
table_sync-6.4.1 lib/table_sync/publishing/message/batch.rb
table_sync-6.4.0 lib/table_sync/publishing/message/batch.rb
table_sync-6.3.0 lib/table_sync/publishing/message/batch.rb
table_sync-6.1.0 lib/table_sync/publishing/message/batch.rb
table_sync-6.0.4 lib/table_sync/publishing/message/batch.rb
table_sync-6.0.3 lib/table_sync/publishing/message/batch.rb