Sha256: 49d583fbcb0ea1361f6dc77de961c5aefca1a5dcf059db9a29a99e6c666883ab
Contents?: true
Size: 255 Bytes
Versions: 1
Compression:
Stored size: 255 Bytes
Contents
class Klomp class Subscription attr_reader :subscriber, :headers def initialize(subscriber, headers) @subscriber = subscriber @headers = headers end def call(message = nil) @subscriber.call(message) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
klomp-1.0.8 | lib/klomp/subscription.rb |