Exception: MiniAuth::AuthError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- MiniAuth::AuthError
- Defined in:
- lib/mini_auth/auth_error.rb
Instance Attribute Summary collapse
-
#auth_url ⇒ Object
readonly
Returns the value of attribute auth_url.
Instance Method Summary collapse
-
#initialize(msg, auth_url = nil) ⇒ AuthError
constructor
A new instance of AuthError.
Constructor Details
#initialize(msg, auth_url = nil) ⇒ AuthError
Returns a new instance of AuthError.
7 8 9 10 |
# File 'lib/mini_auth/auth_error.rb', line 7 def initialize(msg, auth_url = nil) super(msg) @auth_url = auth_url end |
Instance Attribute Details
#auth_url ⇒ Object (readonly)
Returns the value of attribute auth_url.
5 6 7 |
# File 'lib/mini_auth/auth_error.rb', line 5 def auth_url @auth_url end |