Sha256: ba511db2646b04e099497c3a1951c7c4bae0a41f0b8a7ad38e22e80530d6bce0
Contents?: true
Size: 563 Bytes
Versions: 47
Compression:
Stored size: 563 Bytes
Contents
module Airbrake module Rack # Adds HTTP request parameters. # # @since v5.7.0 class HttpParamsFilter # @return [Integer] attr_reader :weight def initialize @weight = 97 end # @see Airbrake::FilterChain#refine def call(notice) return unless (request = notice.stash[:rack_request]) notice[:params].merge!(request.params) rails_params = request.env['action_dispatch.request.parameters'] notice[:params].merge!(rails_params) if rails_params end end end end
Version data entries
47 entries across 47 versions & 1 rubygems