Class: TransactionalOutbox::Relay::Monitor
- Inherits:
-
Object
- Object
- TransactionalOutbox::Relay::Monitor
- Extended by:
- Forwardable
- Defined in:
- lib/transactional_outbox/relay/monitor.rb
Instance Method Summary collapse
-
#initialize ⇒ Monitor
constructor
A new instance of Monitor.
Constructor Details
#initialize ⇒ Monitor
Returns a new instance of Monitor.
10 11 12 |
# File 'lib/transactional_outbox/relay/monitor.rb', line 10 def initialize @notifications = Dry::Monitor::Notifications.new(:transactional_outbox).tap { |n| register_events(n) } end |