class
Circed::Services::NotificationService
- Circed::Services::NotificationService
- Reference
- Object
Defined in:
circed/services/notification_service.crConstructors
Instance Method Summary
- #notify_channel(channel : Domain::Channel, message : String, exclude_nickname : String | Nil = nil)
- #notify_channel(channel_name : String, message : String, exclude_nickname : String | Nil = nil)
- #notify_channels(nickname : String, channels : Enumerable(Domain::Channel), message : String)
- #notify_shared_channels(nickname : String, message : String)
- #notify_user(nickname : String, message : String)
Constructor Detail
def self.new(user_repository : Repositories::UserRepository, channel_repository : Repositories::ChannelRepository)
#
Instance Method Detail
def notify_channel(channel : Domain::Channel, message : String, exclude_nickname : String | Nil = nil)
#
def notify_channel(channel_name : String, message : String, exclude_nickname : String | Nil = nil)
#
def notify_channels(nickname : String, channels : Enumerable(Domain::Channel), message : String)
#