Sha256: fbb6f23c6e0e85e092ec033dd16681315a2ab88791b7c19406c6932b868128c5
Contents?: true
Size: 406 Bytes
Versions: 89
Compression:
Stored size: 406 Bytes
Contents
module RailsOps::Mixins::LogSettings extend ActiveSupport::Concern included do class_attribute :_skip_logging self._skip_logging = false end module ClassMethods # Allows to skip logging for this operation via the # {RailsOps::LogSubscriber}. def skip_logging(skip = true) self._skip_logging = skip end def logging_skipped? _skip_logging end end end
Version data entries
89 entries across 89 versions & 1 rubygems