Sha256: b4ef67ef2596b8bfecfe9e4a043f2c2cdc67b889105c2ead244fec39bfbf5ae3
Contents?: true
Size: 193 Bytes
Versions: 2
Compression:
Stored size: 193 Bytes
Contents
# A sample publisher that posts a message to the queue. class Sample < Refinery::Publisher def execute if waiting_queue.size == 0 publish({'text' => 'hey there!'}) end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
aeden-refinery-0.9.1 | publishers/sample.rb |
refinery-0.9.0 | publishers/sample.rb |