Sha256: 51108d78c64eb45c09510ce73cdc9a320d204b3c7f52083c459ea61c69795256
Contents?: true
Size: 342 Bytes
Versions: 3
Compression:
Stored size: 342 Bytes
Contents
# encoding: utf-8 # This class is used by OneApm::Agent.set_sql_obfuscator to chain multiple # obfuscation blocks when not using the default :replace action class OneApm::ChainedCall def initialize(block1, block2) @block1 = block1 @block2 = block2 end def call(sql) sql = @block1.call(sql) @block2.call(sql) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
oneapm_rpm-1.1.2 | lib/one_apm/support/chained_call.rb |
oneapm_rpm-1.1.1 | lib/one_apm/support/chained_call.rb |
oneapm_rpm-1.1.0 | lib/one_apm/support/chained_call.rb |