class Circed::Services::NotificationService

Defined in:

circed/services/notification_service.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(user_repository : Repositories::UserRepository, channel_repository : Repositories::ChannelRepository) #

[View source]

Instance Method Detail

def notify_channel(channel : Domain::Channel, message : String, exclude_nickname : String | Nil = nil) #

[View source]
def notify_channel(channel_name : String, message : String, exclude_nickname : String | Nil = nil) #

[View source]
def notify_channels(nickname : String, channels : Enumerable(Domain::Channel), message : String) #

[View source]
def notify_shared_channels(nickname : String, message : String) #

[View source]
def notify_user(nickname : String, message : String) #

[View source]