Class: TableSync::Publishing::Batch
- Inherits:
-
Object
- Object
- TableSync::Publishing::Batch
- Includes:
- Utils::RequiredValidator, Tainbox
- Defined in:
- lib/table_sync/publishing/batch.rb
Direct Known Subclasses
Instance Method Summary collapse
- #message ⇒ Object
- #publish_later ⇒ Object (also: #publish_async)
- #publish_now ⇒ Object
Methods included from Utils::RequiredValidator
Instance Method Details
#message ⇒ Object
25 26 27 |
# File 'lib/table_sync/publishing/batch.rb', line 25 def TableSync::Publishing::Message::Batch.new(attributes) end |
#publish_later ⇒ Object Also known as: publish_async
17 18 19 |
# File 'lib/table_sync/publishing/batch.rb', line 17 def publish_later job.perform_later(job_attributes) end |
#publish_now ⇒ Object
21 22 23 |
# File 'lib/table_sync/publishing/batch.rb', line 21 def publish_now .publish end |