Module: SnFoil::Rails::InjectRequestId

Extended by:
ActiveSupport::Concern
Defined in:
lib/snfoil/rails/concerns/inject_request_id.rb

Instance Method Summary collapse

Instance Method Details

#inject_request_id(**options) ⇒ Object



24
25
26
27
28
# File 'lib/snfoil/rails/concerns/inject_request_id.rb', line 24

def inject_request_id(**options)
  options[:request_id] = request.request_id

  options
end