Sha256: 8b324bd418365b3f1226747a6478ec65f3bcc1cf59cd05ddf3f90f6f1a1b2db0

Contents?: true

Size: 259 Bytes

Versions: 4

Compression:

Stored size: 259 Bytes

Contents

# frozen_string_literal: true

module IIInteractor
  module Instrumentation
    extend ActiveSupport::Concern

    def call_self
      ActiveSupport::Notifications.instrument 'call.ii_interactor', interactor: self do
        super
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ii_interactor-2.0.0 lib/ii_interactor/instrumentation.rb
ii_interactor-1.2.0 lib/ii_interactor/instrumentation.rb
ii_interactor-1.1.1 lib/ii_interactor/instrumentation.rb
ii_interactor-1.1.0 lib/ii_interactor/instrumentation.rb