Sha256: 43efb5a5e3de82ba7221bfddd194c76aebab3c2ecf4f792e82e9832fb461b6b1
Contents?: true
Size: 381 Bytes
Versions: 2
Compression:
Stored size: 381 Bytes
Contents
# this represents a FileSystem queue channel (or basically a folder) module DispatchRider module NotificationServices class FileSystem::Channel def initialize(path) @file_system_queue = DispatchRider::QueueServices::FileSystem::Queue.new(path) end def publish(message) @file_system_queue.add(message[:message]) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dispatch-rider-2.1.0 | lib/dispatch-rider/notification_services/file_system/channel.rb |
dispatch-rider-2.0.0 | lib/dispatch-rider/notification_services/file_system/channel.rb |