Module: ROM::LDAP::ActiveSupportInstrumentation

Included in:
Dataset
Defined in:
lib/rom/ldap/extensions/active_support_notifications.rb

Instance Method Summary collapse

Instance Method Details

#call(filter) ⇒ Object



8
9
10
11
12
13
14
15
# File 'lib/rom/ldap/extensions/active_support_notifications.rb', line 8

def call(filter)
  ActiveSupport::Notifications.instrument(
    'ldap.rom',
    ldap: 'foobar',
    name: instrumentation_name,
    binds: filter
  ) { super }
end