module ROM::Files::Plugins::Relation::Instrumentation

@api private

Public Class Methods

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

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

    # @api private
    # @param [ROM::Files::Relation] relation
    def notification_payload(relation)
      super.merge(**relation.dataset.options)
    end
  end
end

Public Instance Methods

notification_payload(relation) click to toggle source

@api private @param [ROM::Files::Relation] relation

Calls superclass method
# File lib/rom/files/plugins/relation/instrumentation.rb, line 19
def notification_payload(relation)
  super.merge(**relation.dataset.options)
end