Exception: RackMyOpenid::Handler::UntrustedRealm

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/rack_my_openid/handler.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#realmObject (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

#messageObject



10
# File 'lib/rack_my_openid/handler.rb', line 10

def message; "OpenID realm #{@realm} not trusted by user."; end