Exception: Sqreen::AttackBlocked

Inherits:
Exception
  • Object
show all
Defined in:
lib/sqreen/attack_blocked.rb

Overview

This exception name is particularly important since it is often seen by Sqreen users when watching their logs. It should not raise any concern to them.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Exception

#initialize

Constructor Details

This class inherits a constructor from Sqreen::Exception

Instance Attribute Details

#redirect_urlObject

Returns the value of attribute redirect_url.



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

def redirect_url
  @redirect_url
end

Instance Method Details

#log_message(msg) ⇒ Object



15
16
17
# File 'lib/sqreen/attack_blocked.rb', line 15

def log_message(msg)
  Sqreen.log.warn(msg)
end