Class: DispatchRider::NotificationServices::FileSystem

Inherits:
Base
  • Object
show all
Defined in:
lib/dispatch-rider/notification_services/file_system.rb

Defined Under Namespace

Classes: Channel, Notifier

Instance Attribute Summary

Attributes inherited from Base

#channel_registrar, #notifier

Instance Method Summary collapse

Methods inherited from Base

#channels, #initialize, #publish, #publish_to_channel

Constructor Details

This class inherits a constructor from DispatchRider::NotificationServices::Base

Instance Method Details

#channel(name) ⇒ Object



14
15
16
# File 'lib/dispatch-rider/notification_services/file_system.rb', line 14

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

#channel_registrar_builderObject



10
11
12
# File 'lib/dispatch-rider/notification_services/file_system.rb', line 10

def channel_registrar_builder
  DispatchRider::Registrars::FileSystemChannel
end

#notifier_builderObject



6
7
8
# File 'lib/dispatch-rider/notification_services/file_system.rb', line 6

def notifier_builder
  Notifier
end