Sha256: 14477733007c8a6e88434428e8aa0040fa3b4b5d77987970e0063bb572bc50f6

Contents?: true

Size: 329 Bytes

Versions: 3

Compression:

Stored size: 329 Bytes

Contents

# encoding: utf-8

module OneApm
  module Support
    class RenameRulesEngine
      module Rename
        class Parameter < Base

          def segment(request)
            return '' if !state
            parameters = request.params
            parameters[value].try(&:first)
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
oneapm_rpm-1.4.2 lib/one_apm/support/rename_rules_engine/rename/parameter.rb
oneapm_rpm-1.4.1 lib/one_apm/support/rename_rules_engine/rename/parameter.rb
oneapm_rpm-1.4.0 lib/one_apm/support/rename_rules_engine/rename/parameter.rb