class ActionTracker::Templates::Update
Public Instance Methods
content()
click to toggle source
# File lib/action_tracker/templates/update.rb, line 10 def content @content ||= ModelAuditor::Changes.new(inspectable, changes).filter(skipped_attributes).audit end
event_name()
click to toggle source
# File lib/action_tracker/templates/update.rb, line 6 def event_name 'Updated' end
Private Instance Methods
changes()
click to toggle source
# File lib/action_tracker/templates/update.rb, line 20 def changes options[:changes] end
inspectable()
click to toggle source
# File lib/action_tracker/templates/update.rb, line 16 def inspectable options[:reference] || target end
skipped_attributes()
click to toggle source
# File lib/action_tracker/templates/update.rb, line 24 def skipped_attributes options[:skip] end