module ROM::Plugins::Relation::LDAP::Instrumentation

@api private

Public Class Methods

included(klass) click to toggle source
Calls superclass method
# File lib/rom/plugins/relation/ldap/instrumentation.rb, line 11
def self.included(klass)
  super

  klass.class_eval do
    include ROM::Plugins::Relation::Instrumentation

    # @overload [Hash]
    #
    # @api private
    def notification_payload(relation)
      super.merge(query: relation.to_filter)
    end
  end
end

Public Instance Methods

notification_payload(relation) click to toggle source

@overload [Hash]

@api private

Calls superclass method
# File lib/rom/plugins/relation/ldap/instrumentation.rb, line 20
def notification_payload(relation)
  super.merge(query: relation.to_filter)
end