Sha256: 7785464d575006b47292f79d7b368d2bf07dd1785e8266e4766a1a6e80776277

Contents?: true

Size: 362 Bytes

Versions: 1

Compression:

Stored size: 362 Bytes

Contents

module Logster
  class SuppressionPattern < Pattern
    def self.set_name
      "__LOGSTER__suppression_patterns_set".freeze
    end

    def save
      super
      @store.clear_suppression_patterns_cache
    end

    def destroy(clear_cache: true) # arg used in tests
      super()
      @store.clear_suppression_patterns_cache if clear_cache
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
logster-2.2.0 lib/logster/suppression_pattern.rb