Module: MergingQueue::QueuedTask
- Extended by:
- ActiveSupport::Concern
- Included in:
- QueuedTask
- Defined in:
- lib/merging-queue/queued_task.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
-
#publish(data = {}) ⇒ Object
Publishes the queued_task to the receivers.
- #refresh_data ⇒ Object
Instance Method Details
#publish(data = {}) ⇒ Object
Publishes the queued_task to the receivers
114 115 116 117 118 |
# File 'lib/merging-queue/queued_task.rb', line 114 def publish(data = {}) assign_properties(data) self end |
#refresh_data ⇒ Object
121 122 123 |
# File 'lib/merging-queue/queued_task.rb', line 121 def refresh_data save(:validate => false) end |