Exception: InvalidCasTicketException

Inherits:
Exception
  • Object
show all
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

Instance Method Summary collapse

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

#ticketObject (readonly)

Returns the value of attribute ticket.



4
5
6
# File 'lib/devise_cas_authenticatable/exceptions.rb', line 4

def ticket
  @ticket
end