Sha256: 1e77c673b2f7160d813978302988123a4685be05dc6c295dfc98f20e5cf918b5

Contents?: true

Size: 522 Bytes

Versions: 3

Compression:

Stored size: 522 Bytes

Contents

require 'one_apm/support/rename_rules_engine/match_expression/base'
module OneApm
  module Support
    class RenameRulesEngine
      module MatchExpression
        class SplitObject < Base

          def match?(request)
            return true if match_value.downcase=='all'
            return true if !state
            match_result = type_match?(operate.downcase, match_value, "#{request.uri.host}:#{request.port}")
            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/split_object.rb
oneapm_rpm-1.4.1 lib/one_apm/support/rename_rules_engine/match_expression/split_object.rb
oneapm_rpm-1.4.0 lib/one_apm/support/rename_rules_engine/match_expression/split_object.rb