Sha256: 07e1bbcb5e865fab53226a5ef1b9240baf58449d534270164791b778b590a889

Contents?: true

Size: 339 Bytes

Versions: 6

Compression:

Stored size: 339 Bytes

Contents

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

6 entries across 6 versions & 1 rubygems

Version Path
notifiably_audited-1.0.3 lib/notifiably_audited.rb
notifiably_audited-1.0.2 lib/notifiably_audited.rb
notifiably_audited-1.0.1 lib/notifiably_audited.rb
notifiably_audited-1.0.0 lib/notifiably_audited.rb
notifiably_audited-0.1.12 lib/notifiably_audited.rb
notifiably_audited-0.1.11 lib/notifiably_audited.rb