Module: Castanet::Responses
- Included in:
- ServiceTicket
- Defined in:
- lib/castanet/responses.rb,
lib/castanet/responses/proxy.rb,
lib/castanet/responses/ticket_validate.rb
Defined Under Namespace
Classes: Proxy, TicketValidate
Instance Method Summary collapse
-
#parsed_proxy_response(response) ⇒ Proxy
Parses a response from
/proxy
. -
#parsed_ticket_validate_response(response) ⇒ TicketValidate
Parses a response from
/serviceValidate
or/proxyValidate
.
Instance Method Details
#parsed_proxy_response(response) ⇒ Proxy
Parses a response from /proxy
.
12 13 14 |
# File 'lib/castanet/responses.rb', line 12 def parsed_proxy_response(response) Proxy.from_cas(response) end |
#parsed_ticket_validate_response(response) ⇒ TicketValidate
Parses a response from /serviceValidate
or /proxyValidate
.
20 21 22 |
# File 'lib/castanet/responses.rb', line 20 def parsed_ticket_validate_response(response) TicketValidate.from_cas(response) end |