Class: Auditrail::ClassMethods::AuditOptions

Inherits:
Object
  • Object
show all
Defined in:
lib/audit_options.rb

Instance Method Summary collapse

Constructor Details

#initialize(&block) ⇒ AuditOptions

Returns a new instance of AuditOptions.



5
6
7
# File 'lib/audit_options.rb', line 5

def initialize(&block)
  instance_eval &block if block
end

Instance Method Details

#attributesObject



13
14
15
# File 'lib/audit_options.rb', line 13

def attributes
  @attributes
end

#userObject



9
10
11
# File 'lib/audit_options.rb', line 9

def user
  @user
end