Sha256: 746b7506518fdb1c6161792355d968d6e32c0c7ae44161dd10fd18498750040f
Contents?: true
Size: 474 Bytes
Versions: 16
Compression:
Stored size: 474 Bytes
Contents
module Airbrake module Rack ## # Adds HTTP session. # # @since v5.7.0 class SessionFilter ## # @return [Integer] attr_reader :weight def initialize @weight = 96 end ## # @see {Airbrake::FilterChain#refine} def call(notice) return unless (request = notice.stash[:rack_request]) session = request.session notice[:session] = session if session end end end end
Version data entries
16 entries across 16 versions & 1 rubygems