Sha256: 6cfcc26e26bc0d9c4cf505060d8eabe419e66e076289b18f900fdb1876e47045
Contents?: true
Size: 397 Bytes
Versions: 13
Compression:
Stored size: 397 Bytes
Contents
# frozen_string_literal: true # ActiveSupport::Notifications will fail if concurrent isn't loaded require 'concurrent' require 'active_support/notifications' require 'cased/publishers/base' module Cased module Publishers class ActiveSupportPublisher < Base def publish(event) ::ActiveSupport::Notifications.instrument('event.cased', event: event) end end end end
Version data entries
13 entries across 13 versions & 1 rubygems