Sha256: 254edf57e3d7d2b57839a7f9ca828cb51e63b2f2cde8ce9913a622a399237f36

Contents?: true

Size: 443 Bytes

Versions: 3

Compression:

Stored size: 443 Bytes

Contents

require 'one_apm/support/rename_rules_engine/match_expression/base'

module OneApm
  module Support
    class RenameRulesEngine

      module MatchExpression
        class Url < Base
          def match?(request)
            return true if !state
            match_result = type_match?(operate.downcase, match_value, request.uri.path)
            is_not ? (!match_result) : (match_result)
          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/match_expression/url.rb
oneapm_rpm-1.4.1 lib/one_apm/support/rename_rules_engine/match_expression/url.rb
oneapm_rpm-1.4.0 lib/one_apm/support/rename_rules_engine/match_expression/url.rb