Sha256: 070e94dfc7b8e5b14b3c9671e545aa1918b238e80fdb2e5f299c397f1febf891
Contents?: true
Size: 472 Bytes
Versions: 270
Compression:
Stored size: 472 Bytes
Contents
# frozen_string_literal: true module Appsignal class Hooks # @api private class DataMapperHook < Appsignal::Hooks::Hook register :data_mapper def dependencies_present? defined?(::DataMapper) && defined?(::DataObjects::Connection) end def install require "appsignal/integrations/data_mapper" ::DataObjects::Connection.send(:include, Appsignal::Hooks::DataMapperLogListener) end end end end
Version data entries
270 entries across 270 versions & 1 rubygems