class ActiveMonitoring::Notifications
Attributes
notifier[RW]
Public Class Methods
instrument(name, payload = {}, &block)
click to toggle source
# File lib/active_monitoring/notifications.rb, line 12 def instrument(name, payload = {}, &block) notifier.instrument(name, payload, &block) end
subscribe(name, &block)
click to toggle source
# File lib/active_monitoring/notifications.rb, line 8 def subscribe(name, &block) notifier.subscribe(name, &block) end