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



16
17
18
# File 'lib/dispatch-rider/notification_services/file_system.rb', line 16

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

#channel_registrar_builderObject



12
13
14
# File 'lib/dispatch-rider/notification_services/file_system.rb', line 12

def channel_registrar_builder
  DispatchRider::Registrars::FileSystemChannel
end

#notifier_builderObject



8
9
10
# File 'lib/dispatch-rider/notification_services/file_system.rb', line 8

def notifier_builder
  Notifier
end