Sha256: e0247b838a84aec06069cf0b46d5d0e5c80b99c6f8205ead81f05765a8c7b2d6
Contents?: true
Size: 671 Bytes
Versions: 27
Compression:
Stored size: 671 Bytes
Contents
# frozen_string_literal: true require 'minitest' require 'minitest/unit' require 'minitest/autorun' require 'minitest/pride' require 'redis' require 'logster' require 'logster/base_store' require 'timecop' require 'byebug' class Logster::TestStore < Logster::BaseStore attr_accessor :reported def initialize super @reported = [] end def save(message) @reported << message end def count @reported.count end def clear @reported = [] end def clear_all @reported = [] end def check_rate_limits(severity) # Do nothing end def increment_ignore_count(pattern) end # get, protect, unprotect: unimplemented end
Version data entries
27 entries across 27 versions & 1 rubygems