Module: Caoutsearch::Search::Instrumentation
- Extended by:
- ActiveSupport::Concern
- Included in:
- Base
- Defined in:
- lib/caoutsearch/search/instrumentation.rb
Instance Method Summary collapse
Instance Method Details
#instrument(action, **options, &block) ⇒ Object
8 9 10 |
# File 'lib/caoutsearch/search/instrumentation.rb', line 8 def instrument(action, **, &block) ActiveSupport::Notifications.instrument("#{action}.caoutsearch_search", **, klass: self.class.to_s, &block) end |