Exception: InvalidCasTicketException
- Inherits:
-
Exception
- Object
- Exception
- InvalidCasTicketException
- Defined in:
- lib/devise_cas_authenticatable/exceptions.rb
Overview
Thrown when a user attempts to pass a CAS ticket that the server says is invalid.
Instance Attribute Summary collapse
-
#ticket ⇒ Object
readonly
Returns the value of attribute ticket.
Instance Method Summary collapse
-
#initialize(ticket, msg = nil) ⇒ InvalidCasTicketException
constructor
A new instance of InvalidCasTicketException.
Constructor Details
#initialize(ticket, msg = nil) ⇒ InvalidCasTicketException
Returns a new instance of InvalidCasTicketException.
6 7 8 9 |
# File 'lib/devise_cas_authenticatable/exceptions.rb', line 6 def initialize(ticket, msg=nil) super(msg) @ticket = ticket end |
Instance Attribute Details
#ticket ⇒ Object (readonly)
Returns the value of attribute ticket.
4 5 6 |
# File 'lib/devise_cas_authenticatable/exceptions.rb', line 4 def ticket @ticket end |