Sha256: f9f37dcb0625d498e1baba68ad8c7baa15ae328af2c797894190f69e37ed9063

Contents?: true

Size: 376 Bytes

Versions: 5

Compression:

Stored size: 376 Bytes

Contents

require "notifiably_audited/engine"

module NotifiablyAudited
  VERSION = '3.0.0'

  class << self
    attr_accessor :ignored_attributes, :current_user_method, :audit_class

    def store
      Thread.current[:audited_store] ||= {}
    end
  end

  @ignored_attributes = %w(lock_version created_at updated_at created_on updated_on)

  @current_user_method = :current_user
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
notifiably_audited-1.0.8 lib/notifiably_audited.rb
notifiably_audited-1.0.7 lib/notifiably_audited.rb
notifiably_audited-1.0.6 lib/notifiably_audited.rb
notifiably_audited-1.0.5 lib/notifiably_audited.rb
notifiably_audited-1.0.4 lib/notifiably_audited.rb