Sha256: f8c7d7bdf50e928075c00125963d3a616e5d3792c1ef3c70a58d482abed07997
Contents?: true
Size: 283 Bytes
Versions: 6
Compression:
Stored size: 283 Bytes
Contents
module InboundRequestsLogger extend ActiveSupport::Concern private def attach_inbound_request_loggable(loggable) return unless request.env["INBOUND_REQUEST_LOG"].present? request.env["INBOUND_REQUEST_LOG"].update(loggable: loggable) if loggable&.persisted? end end
Version data entries
6 entries across 6 versions & 1 rubygems