Sha256: dca5f67ad48cbf438665435d5cd04f1d7048240e2efec55302bcef41c86559ec

Contents?: true

Size: 349 Bytes

Versions: 5

Compression:

Stored size: 349 Bytes

Contents

# encoding: utf-8



module TingYun
  module Instrumentation
    module Support
      module ParameterFiltering

        module_function

        def filter_rails_request_parameters(params)
          result = params.dup
          result.delete("controller")
          result.delete("action")
          result
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tingyun_rpm-1.1.2 lib/ting_yun/instrumentation/support/parameter_filtering.rb
tingyun_rpm-1.1.1 lib/ting_yun/instrumentation/support/parameter_filtering.rb
tingyun_rpm-1.1.0 lib/ting_yun/instrumentation/support/parameter_filtering.rb
tingyun_rpm-1.0.7 lib/ting_yun/instrumentation/support/parameter_filtering.rb
tingyun_rpm-1.0.6 lib/ting_yun/instrumentation/support/parameter_filtering.rb