module Pione::Front::NotificationRecipientInterface
Public Instance Methods
notify(message)
click to toggle source
Notify the notification message to the recipient. This method is non-blocking.
@param message [Notification::Message]
notification message
@return [void]
# File lib/pione/front/notification-recipient-interface.rb, line 14 def notify(message) non_blocking {@__recipient__.notify(message)} end
set_recipient(recipient)
click to toggle source
# File lib/pione/front/notification-recipient-interface.rb, line 4 def set_recipient(recipient) @__recipient__ = recipient end