Module: ActiveModelSerializers::Logging::ClassMethods
- Defined in:
- lib/active_model_serializers/logging.rb
Instance Method Summary collapse
Instance Method Details
#instrument_rendering ⇒ Object
20 21 22 23 24 25 26 27 28 |
# File 'lib/active_model_serializers/logging.rb', line 20 def instrument_rendering around_render do |args, block| tag_logger do notify_render do block.call(args) end end end end |