Sha256: af8564fb486bcef251794b32bede73dc5014d675c267bcd791213c40c5185261

Contents?: true

Size: 372 Bytes

Versions: 61

Compression:

Stored size: 372 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)
      end
    end
  end
end

Version data entries

61 entries across 61 versions & 1 rubygems

Version Path
dispatch-rider-1.9.0 lib/dispatch-rider/notification_services/file_system/channel.rb
dispatch-rider-1.8.6 lib/dispatch-rider/notification_services/file_system/channel.rb
dispatch-rider-1.8.5 lib/dispatch-rider/notification_services/file_system/channel.rb
dispatch-rider-1.8.4 lib/dispatch-rider/notification_services/file_system/channel.rb
dispatch-rider-1.8.3 lib/dispatch-rider/notification_services/file_system/channel.rb
dispatch-rider-1.8.2 lib/dispatch-rider/notification_services/file_system/channel.rb
dispatch-rider-1.8.1 lib/dispatch-rider/notification_services/file_system/channel.rb
dispatch-rider-1.8.0 lib/dispatch-rider/notification_services/file_system/channel.rb
dispatch-rider-1.7.2 lib/dispatch-rider/notification_services/file_system/channel.rb
dispatch-rider-1.7.1 lib/dispatch-rider/notification_services/file_system/channel.rb
dispatch-rider-1.7.0 lib/dispatch-rider/notification_services/file_system/channel.rb
dispatch-rider-1.6.2 lib/dispatch-rider/notification_services/file_system/channel.rb
dispatch-rider-1.6.1 lib/dispatch-rider/notification_services/file_system/channel.rb
dispatch-rider-1.6.0 lib/dispatch-rider/notification_services/file_system/channel.rb
dispatch-rider-1.5.3 lib/dispatch-rider/notification_services/file_system/channel.rb
dispatch-rider-1.5.2 lib/dispatch-rider/notification_services/file_system/channel.rb
dispatch-rider-1.5.1 lib/dispatch-rider/notification_services/file_system/channel.rb
dispatch-rider-1.5.0 lib/dispatch-rider/notification_services/file_system/channel.rb
dispatch-rider-1.4.2 lib/dispatch-rider/notification_services/file_system/channel.rb
dispatch-rider-1.4.0 lib/dispatch-rider/notification_services/file_system/channel.rb