Sha256: a21e315098914ba0ea76833fddfea9d4aaaaf4708b33214898f7501461d57b24
Contents?: true
Size: 484 Bytes
Versions: 36
Compression:
Stored size: 484 Bytes
Contents
# (c) Copyright IBM Corp. 2021 # (c) Copyright Instana Inc. 2021 module Instana module Activators class ActionMailer < Activator def can_instrument? defined?(::ActionMailer::Base) && defined?(ActiveSupport::Executor) end def instrument require 'instana/instrumentation/action_mailer' ::ActionMailer::Base .singleton_class .prepend(Instana::Instrumentation::ActionMailer) true end end end end
Version data entries
36 entries across 36 versions & 1 rubygems