Class: OpenID::Server::OpenIDRequest
- Inherits:
-
Object
- Object
- OpenID::Server::OpenIDRequest
- Defined in:
- lib/openid/server.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#message ⇒ Object
Returns the value of attribute message.
-
#mode ⇒ Object
Returns the value of attribute mode.
Instance Method Summary collapse
-
#initialize ⇒ OpenIDRequest
constructor
I represent an incoming OpenID request.
- #namespace ⇒ Object
Constructor Details
#initialize ⇒ OpenIDRequest
I represent an incoming OpenID request.
Attributes:
- mode
-
The “openid.mode” of this request
35 36 37 38 |
# File 'lib/openid/server.rb', line 35 def initialize @mode = nil @message = nil end |
Instance Attribute Details
#message ⇒ Object
Returns the value of attribute message.
29 30 31 |
# File 'lib/openid/server.rb', line 29 def @message end |
#mode ⇒ Object
Returns the value of attribute mode.
29 30 31 |
# File 'lib/openid/server.rb', line 29 def mode @mode end |
Instance Method Details
#namespace ⇒ Object
40 41 42 43 44 45 46 |
# File 'lib/openid/server.rb', line 40 def namespace if @message.nil? raise RuntimeError, "Request has no message" else return @message.get_openid_namespace end end |