Sha256: 408fcec277f938e9236965ba0b6fa2eba245357ac0fe29f2701fa545d2b463db
Contents?: true
Size: 706 Bytes
Versions: 4
Compression:
Stored size: 706 Bytes
Contents
# typed: false require 'datadog/tracing/contrib/action_mailer/events/process' require 'datadog/tracing/contrib/action_mailer/events/deliver' module Datadog module Tracing module Contrib module ActionMailer # Defines collection of instrumented ActionMailer events module Events ALL = [ Events::Process, Events::Deliver ].freeze module_function def all self::ALL end def subscriptions all.collect(&:subscriptions).collect(&:to_a).flatten end def subscribe! all.each(&:subscribe!) end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems