Sha256: 8a0e7732a346ac15958316c958e8a14da0b4e1cadf33ccc4175bff6fefb46105
Contents?: true
Size: 279 Bytes
Versions: 7
Compression:
Stored size: 279 Bytes
Contents
class ExampleQueuePoller < Pheme::QueuePoller def handle(message) case message.status when 'complete', 'rejected' ExampleMessageHandler.new(message: message).handle else raise ArgumentError, "Unknown message status: #{message.status}" end end end
Version data entries
7 entries across 7 versions & 1 rubygems