Class: CASClient::ProxyGrantingTicket

Inherits:
Object
  • Object
show all
Defined in:
lib/casclient/tickets.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ticket, iou) ⇒ ProxyGrantingTicket

Returns a new instance of ProxyGrantingTicket.



29
30
31
32
# File 'lib/casclient/tickets.rb', line 29

def initialize(ticket, iou)
  @ticket = ticket
  @iou = iou
end

Instance Attribute Details

#iouObject (readonly)

Returns the value of attribute iou.



27
28
29
# File 'lib/casclient/tickets.rb', line 27

def iou
  @iou
end

#ticketObject (readonly)

Returns the value of attribute ticket.



27
28
29
# File 'lib/casclient/tickets.rb', line 27

def ticket
  @ticket
end

Instance Method Details

#to_sObject



34
35
36
# File 'lib/casclient/tickets.rb', line 34

def to_s
  ticket
end