Sha256: 525f11c5baf544abac200cd0916b51092fcfaa9ef72fa1855b967e565c4e4c1f
Contents?: true
Size: 604 Bytes
Versions: 7
Compression:
Stored size: 604 Bytes
Contents
# frozen_string_literal: true module Dry module System module Plugins # @api public module Notifications # @api private def self.extended(system) system.after(:configure, &:register_notifications) end # @api private def self.dependencies {"dry-monitor": "dry/monitor/notifications"} end # @api private def register_notifications return self if registered?(:notifications) register(:notifications, Monitor::Notifications.new(config.name)) end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems