Sha256: 06ddf9aa11fc408dd2a9520089b2d70abcb84a136f44500fac1b7e82b5d5ed93
Contents?: true
Size: 241 Bytes
Versions: 27
Compression:
Stored size: 241 Bytes
Contents
# An example publisher that posts a message to the queue that should raise an error. class ErrorPublisher < Refinery::Publisher def execute if waiting_queue.size == 0 publish({'text' => 'fire an error, please'}) end end end
Version data entries
27 entries across 27 versions & 2 rubygems