Sha256: cd9783c9f30f949e538fe817e56274a468c32f5f96d62de346f11854ed2172d8

Contents?: true

Size: 560 Bytes

Versions: 64

Compression:

Stored size: 560 Bytes

Contents

# this is a basic notification service which uses a filesystem folder to handle notifications

module DispatchRider
  module NotificationServices
    class FileSystem < Base
      def notifier_builder
        Notifier
      end

      def channel_registrar_builder
        DispatchRider::Registrars::FileSystemChannel
      end

      def channel(name)
        notifier.channel(self.fetch(name))
      end
    end
  end
end

require 'dispatch-rider/notification_services/file_system/channel'
require 'dispatch-rider/notification_services/file_system/notifier'

Version data entries

64 entries across 64 versions & 1 rubygems

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