Exception: RackMyOpenid::Handler::UntrustedRealm
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- RackMyOpenid::Handler::UntrustedRealm
- Defined in:
- lib/rack_my_openid/handler.rb
Instance Attribute Summary collapse
-
#realm ⇒ Object
readonly
Returns the value of attribute realm.
Instance Method Summary collapse
-
#initialize(realm) ⇒ UntrustedRealm
constructor
A new instance of UntrustedRealm.
- #message ⇒ Object
Constructor Details
#initialize(realm) ⇒ UntrustedRealm
Returns a new instance of UntrustedRealm.
9 |
# File 'lib/rack_my_openid/handler.rb', line 9 def initialize(realm); @realm = realm; end |
Instance Attribute Details
#realm ⇒ Object (readonly)
Returns the value of attribute realm.
8 9 10 |
# File 'lib/rack_my_openid/handler.rb', line 8 def realm @realm end |
Instance Method Details
#message ⇒ Object
10 |
# File 'lib/rack_my_openid/handler.rb', line 10 def ; "OpenID realm #{@realm} not trusted by user."; end |