Class: Twterm::NotificationBackend::InlineBackend

Inherits:
AbstractNotificationBackend show all
Includes:
Publisher
Defined in:
lib/twterm/notification_backend/inline_backend.rb

Instance Method Summary collapse

Methods included from Publisher

#publish

Methods included from Utils

check_type

Instance Method Details

#notify(notification) ⇒ void

This method returns an undefined value.



14
15
16
17
# File 'lib/twterm/notification_backend/inline_backend.rb', line 14

def notify(notification)
  message = Event::Message::Info.new(notification.fallback)
  publish(message)
end