Class: TableSync::Publishing::Message::Batch
- Defined in:
- lib/table_sync/publishing/message/batch.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#data, #empty?, #find_or_init_objects, #initialize, #message_params, #model_naming, #notify!, #publish
Constructor Details
This class inherits a constructor from TableSync::Publishing::Message::Base
Instance Method Details
#params ⇒ Object
8 9 10 11 12 |
# File 'lib/table_sync/publishing/message/batch.rb', line 8 def params TableSync::Publishing::Params::Batch.new( attributes.slice(:object_class, :headers, :routing_key).compact, ).construct end |