Sha256: a88a1080bc47124299827ab407d8b01c072b90f6efc3db123f4e3ab897e84061

Contents?: true

Size: 196 Bytes

Versions: 5

Compression:

Stored size: 196 Bytes

Contents

<%= config[:camel_cased_app_name] %>::Container.boot :monitor do
  init do
    require "dry/monitor"
  end

  start do
    Dry::Monitor::SQL::Logger.new(logger).subscribe(notifications)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
dry-web-roda-0.11.0 lib/dry/web/roda/templates/monitor.rb.tt
dry-web-roda-0.10.0 lib/dry/web/roda/templates/monitor.rb.tt
dry-web-roda-0.9.1 lib/dry/web/roda/templates/monitor.rb.tt
dry-web-roda-0.9.0 lib/dry/web/roda/templates/monitor.rb.tt
dry-web-roda-0.8.0 lib/dry/web/roda/templates/monitor.rb.tt