Module: Watchtower::WatchedExceptionBase::Callbacks::InstanceMethods

Defined in:
lib/watchtower/watched_exception_base.rb

Instance Method Summary collapse

Instance Method Details

#clean_backtraceObject



27
# File 'lib/watchtower/watched_exception_base.rb', line 27

def clean_backtrace; end

#generate_controller_actionObject



23
24
25
# File 'lib/watchtower/watched_exception_base.rb', line 23

def generate_controller_action
  self.controller_action = "#{self.controller_name}/#{self.action_name}"
end

#generate_keyObject



19
20
21
# File 'lib/watchtower/watched_exception_base.rb', line 19

def generate_key
  self.key = ActiveSupport::SecureRandom.hex(12)
end