Sha256: eb989496717b439ac89752982f7c5f54b61d05d404fd0fb2a38fc938937058db
Contents?: true
Size: 648 Bytes
Versions: 12
Compression:
Stored size: 648 Bytes
Contents
# typed: false require_relative 'events/process' require_relative '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
12 entries across 12 versions & 1 rubygems