Sha256: 38b2fdb8b899401fc30e36b5045b6878e4ad5a4883055014115500f6bb7b4fba

Contents?: true

Size: 465 Bytes

Versions: 3

Compression:

Stored size: 465 Bytes

Contents

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

module OneApm
  module Support
    class RenameRulesEngine

        module MatchExpression
          class Method < Base

            def match?(request)
              return true if !state
              match_result = type_match?(operate.downcase,match_value.to_s,request.method.to_s)
              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/method.rb
oneapm_rpm-1.4.1 lib/one_apm/support/rename_rules_engine/match_expression/method.rb
oneapm_rpm-1.4.0 lib/one_apm/support/rename_rules_engine/match_expression/method.rb