Method: Dry::Monitor::Notifications#initialize

Defined in:
lib/dry/monitor/notifications.rb

#initialize(id, clock: CLOCK) ⇒ Notifications

Returns a new instance of Notifications.

[View source]

15
16
17
18
# File 'lib/dry/monitor/notifications.rb', line 15

def initialize(id, clock: CLOCK)
  @id = id
  @clock = clock
end