lib/unotifier/system_notifier.rb in unotifier-0.4.1 vs lib/unotifier/system_notifier.rb in unotifier-0.5.0
- old
+ new
@@ -1,7 +1,7 @@
module UNotifier
module SystemNotifier
- def self.notify_system(notification, params = {})
+ def self.call(notification, params = {})
key = notification.key
config = UNotifier.load_notification!(key)
return if config["system"].nil?
# Raise only when we're sure that config has "system" block