Sha256: ab2897e4ec00968872c66716a17a388b3c9aa321c61e1c1a7e4213db2fe2fbc2
Contents?: true
Size: 202 Bytes
Versions: 27
Compression:
Stored size: 202 Bytes
Contents
# A sample publisher that posts a message to the queue. class SamplePublisher < Refinery::Publisher def execute if waiting_queue.size == 0 publish({'text' => 'hey there!'}) end end end
Version data entries
27 entries across 27 versions & 2 rubygems