Class: Wampproto::Acceptor::Response
- Inherits:
-
Object
- Object
- Wampproto::Acceptor::Response
- Defined in:
- lib/wampproto/acceptor/response.rb
Overview
Request object sent for authentication
Instance Attribute Summary collapse
-
#authid ⇒ Object
readonly
Returns the value of attribute authid.
-
#authrole ⇒ Object
readonly
Returns the value of attribute authrole.
-
#secret ⇒ Object
(also: #ticket, #public_key)
readonly
Returns the value of attribute secret.
Instance Method Summary collapse
-
#initialize(authid, authrole, secret = nil) ⇒ Response
constructor
A new instance of Response.
Constructor Details
#initialize(authid, authrole, secret = nil) ⇒ Response
Returns a new instance of Response.
9 10 11 12 13 |
# File 'lib/wampproto/acceptor/response.rb', line 9 def initialize(authid, authrole, secret = nil) @authid = authid @authrole = authrole @secret = secret end |
Instance Attribute Details
#authid ⇒ Object (readonly)
Returns the value of attribute authid.
7 8 9 |
# File 'lib/wampproto/acceptor/response.rb', line 7 def authid @authid end |
#authrole ⇒ Object (readonly)
Returns the value of attribute authrole.
7 8 9 |
# File 'lib/wampproto/acceptor/response.rb', line 7 def authrole @authrole end |
#secret ⇒ Object (readonly) Also known as: ticket, public_key
Returns the value of attribute secret.
7 8 9 |
# File 'lib/wampproto/acceptor/response.rb', line 7 def secret @secret end |