lib/table_sync/publishing/message/batch.rb in table_sync-6.0.2 vs lib/table_sync/publishing/message/batch.rb in table_sync-6.0.3
- old
+ new
@@ -5,10 +5,10 @@
attribute :headers
attribute :routing_key
def params
TableSync::Publishing::Params::Batch.new(
- object_class: object_class, headers: headers, routing_key: routing_key,
+ attributes.slice(:object_class, :headers, :routing_key).compact,
).construct
end
end
end