Exception: Authorio::Exceptions::SessionReplayAttack
- Inherits:
-
StandardError
- Object
- StandardError
- Authorio::Exceptions::SessionReplayAttack
- Defined in:
- lib/authorio/exceptions.rb
Instance Attribute Summary collapse
-
#session ⇒ Object
Returns the value of attribute session.
Instance Method Summary collapse
-
#initialize(session) ⇒ SessionReplayAttack
constructor
A new instance of SessionReplayAttack.
Constructor Details
#initialize(session) ⇒ SessionReplayAttack
Returns a new instance of SessionReplayAttack.
12 13 14 15 |
# File 'lib/authorio/exceptions.rb', line 12 def initialize(session) super("Session replay attack on user account #{session..id}") @session = session end |
Instance Attribute Details
#session ⇒ Object
Returns the value of attribute session.
10 11 12 |
# File 'lib/authorio/exceptions.rb', line 10 def session @session end |